If/Then help(Intervene to banner IF NO focus)

UI and Macro
I currently have this macro:

#showtooltip
/cast [mod:shift, @focus] Intervene; Charge


Question: Is there a way to make it so that if I do not have a focus, then I would intervene to my banner (assuming it's out)? So in other words, if I have a focus set I'd intervene to that player, but no focus set + banner out then I'd intervene to the banner.
Though banner is technically friendly, I don't know if you can specify it by name to intervene it in a macro the way you can a friendly player. Something to try out I guess.
If you can, then

#showtooltip
/cast [mod:shift,@focus][@bannernamehere,exists] Intervene; Charge

If you can't intervene it by name, then you're going to have to target it first. Something like

#showtooltip
/target bannernamehere
/cast [mod:shift,@focus][] Intervene; Charge

which should target the banner if it exists and intervene it.
thank you so much!

Join the Conversation

Return to Forum