Spell-Swapping Macro
WoW Classic Era Priest Macro
This macro allows you to use two spells with one button. If your target is friendly, the macro will cast a heal spell on them (in this case, Heal). If your target is hostile, it will cast a damage spell (Smite) instead. This can be useful if you want to take a minimalist approach to your action bars or if you want to save the effort of cycling between different sections of your main action bars for healing and damage spells.
#showtooltip Heal
/cast [@mouseover, help, nodead][help, nodead] Heal;[harm, nodead] Smite