Edit: just need help with this now:
The issue here is the [11]==96267 for the spellid on Inner Focus, the reason this spell needs an id is because you get two buffs from this spell deleting "[11]==96267" allows the script to work however it cant differentiate between the two buffs.Code:/script c=CastSpellByName t="target" u=UnitBuff if u(t,"targetbuff") then c("spellname");else if (u(t,"Banner of the Alliance") or u(t,"Inner Focus")[11]==96267) then else c("spellname")end;end