Modification Macro help pls

Hello

I am looking to write a a generic malty target, modified macro that I can just interchange the spell name to make life easier. I have zero experience with macros. I was hoping to get thoughts on my first attempt will work and if not why, and how I could fix it. thanks in advance. Much appreciated.

The idea is to cast on mouse first, if nomod, on me, if Modified with shift, ctrl, alt to cast on respective party members (arena team members the same thing? )

This is what I have come up with:

#showtooltip Blessing of Freedom
/cast [@mouseover, exists][nomod,@Player][mod:shift, @party1, exists][mod:ctrl,@party2, exists][mod:alt,@party3, exists]Blessing of Freedom

Macros are executed left to right so put the modifiers first. Also, don’t hard-set the tooltip, let it pull from the /cast, that way it’ll range find properly and help you debug issues with your code.

#showtooltip
/cast [mod:shift,@party1] [mod:ctrl,@party2] [mod:alt,@party3] [@mouseover,help,nodead] [@player] Blessing of Freedom
1 Like

Thank you. much appreciated.
this doesn’t seam to work with blessing of sanctuary though.

Try shift-clicking the spell rather than typing it.