Arena targeting macro help- party and enemy

Hello, I am trying to learn how to use mods to target instead of mouse over. I am wanting to make sure I am setting my macros correctly. Could someone please tell me if this is the correct way to use mods to cast on the target and party?

While I am using rctrl and ralt they are mouse buttons that I have just set to those buttons.

For enemy targets

showtooltip

/cast [target=arena1, mod:alt] purge the wicked
/cast [target=arena2, mod:rctrl] purge the wicked
/cast [target=arena3, mod:ralt] purge the wicked
/cast [nomod] Purge the Wicked

For party members

showtooltip

/cast [mod:alt,target=party1] Flash Heal
/cast [mod:ralt,target=party2] Flash Heal
/cast [nomod] Flash Heal

I am not sure of how to test them other than getting into a group so hoping someone could see if they look ok before I do that.

One issue I am having is now my shift key- although not a mod but used as a keybind- is causing spells to be unusable from these macros. I am not sure what could cause that.

Thanks

#showtooltip
/cast [@arena1,mod:alt] [arena2,mod:rctrl] [@arena3,mod:ralt] [] Shadow Word: Pain

SWP automatically becomes PTW so you don’t need to code them separately.

#showtooltip
/cast [mod:alt,@party1] [mod:ralt,@party2] [] Flash Heal

Keybinds take priority over macro modifers. By default Shift 1-6 are bound to Action Page 1-6. You’ll need to unbind them to use that modifer on those keys.

Thanks. I think they are working now