Could someone tell me why this macro isn't working?

So I’m not sure why this macro isn’t working, it looks right to me
#showtooltip
/cast [@mouseover,harm,nodead][@targettarget,harm,nodead] Judgement

Didn’t use the US spelling of Judgment. You can shift-click the spells from your spell book to put them in macros.

I’d also recommend tweaking it slightly so it prioritizes your target over your target’s target.

#showtooltip
/cast [@mouseover,harm,nodead] [harm] [@targettarget,harm,nodead] [] Judgment

ah! Thank you. I’m holy so i just want it to cast it when im targeting the target i’m healing

You might want to use this version then

so i was going to use a mouseover but sometimes i hover the wrong target and press it and would judgement the wrong target lol. I felt like this was fool proof. it’ll judgement the target someone is already attacking

Pair it down to this then

#showtooltip
/cast [harm] [@mouseovertarget,harm,nodead] [@targettarget,harm,nodead] [] SPELL
1 Like

I like it!
Thank you