Need help shortening this mod macro

#show Swiftmend
/stopcasting
/cast [mod:shift,@mouseover,exists,help]Swiftmend; [mod:shift,@target,help]Swiftmend;[mod:shift,@player,help]Swiftmend
/cast [@mouseover, exists, help]Rejuvenation;[@target, help]Rejuvenation;[@player,help] Rejuvenation

help implies exists, so you can drop exists any time you use help (or harm.)

You can also combine it all into one line.

You can also replace cast with use to save one character if you’re really desperate. (For the most part, they are functionally the same. I believe that it only really matters if you have an item and spell with the same name. Use will prioritize items and cast will prioritize spells.)

You don’t need help with @player, as you’ll always be friendly to yourself.

If you have a bunch of different conditionals where you want to use the same spell, you can just list all the conditionals in the order you want to prioritize them and then the spell once.

#show Swiftmend
/stopcasting
/cast [mod:shift,@mouseover,help][mod:shift,@target,help][mod:shift,@player]Swiftmend;[@mouseover, help][@target, help][@player] Rejuvenation
1 Like

Thank you very much, I appreciate it.

#show Swiftmend
/stopcasting
/cast [mod:shift,@mouseover,help,nodead] [mod:shift] Swiftmend; [@mouseover,help,nodead] [] Rejuvenation

Enable auto self-cast in Interface > Combat

If you want the tooltip to be correct for the range of your mouseover target tweak it to #show [@mouseover,help,nodead] [] Swiftmend or just trim it to #show