Intervene/Charge Macro

I’m trying to write this macro so that it casts Intervene if my mouseover if friendly, Charge at my mouseover if hostile, and otherwise Charges my target if no mouseover is present. The first two work but if I just try Charging my target it just gives me the “You have no target” error.

#showtooltip
/cast [@mouseover,noharm,nodead]Intervene;[@mouseover,harm,nodead][]Charge

I played around a bit, and got the same results with your macro. Changing the “noharm” to “help” appears to fix the macro. Best I can guess is that “noharm” isn’t implying exists, which is tripping up the macro. (Edit: did a quick check, and that does appear to be the case. Adding exists to your macro for the Intervene also fixes it. Of course, “help” is a lot shorter than “noharm,exists”.)

#showtooltip
/cast [@mouseover,help,nodead]Intervene;[@mouseover,harm,nodead][]Charge
3 Likes

Perfect! That works exactly how I wanted it to. Thank you!

#showtooltip
/cast [@mouseover,harm,nodead] Charge; [@mouseover,help,nodead] [help] Intervene; Charge
2 Likes

idk if anyone even still needs this but this is my AIO Charge Macro:
#showtooltip Charge
/cancelaura Bladestorm
/cast [@mouseover, exists, help, nodead] Intervene
/cast [@mouseover, exists, nodead, harm] Charge
/cast Hamstring

Binds Intervene and Charge and Hamstring and if needed cancel bladestorm to all 1 Press

1 Like