The codes below are World of Warcraft scripts/macros that I keep.
Interrupt Macro: This macro is really helpful for casters. I haven’t tried it with my melee classes, but I absolutely love this simple macro. Rather than jumping in the air to stop a cast, this macro will automatically stop casting your spell to interrupt. Replace [spell] with your interrupt. For my shaman, I have /cast Wind Shear.
/stopcasting
/cast [spell]
Deleting an Item: This macro will help delete items that you have picked up with your cursor. You have to press/click on it in order to delete the item.
/script DeleteCursorItem()
Fixing your Target Frame: This will reset your target frame into the default position. Really helpful if you have an addon acting buggy.
/run TargetFrame_ResetUserPlacedPosition()
Inserting Spell’s tooltip in Macro: I LOVE this script. It’s a little tricky to use though. You have make a “/macro” macro which you will use later to open up your macro window. Then Put it on your bars. Put this script into your chat window. (DON’T PRESS ENTER THOUGH) Shift-click the item you want to insert into the macro in-between the quotation marks (“”) into your chat window. Press or Click on your “/macro” macro to open up your macro window. Press Enter, and it should insert the item into your macro. Perfect for item selling, and spells!
/script MacroFrameText:Insert("")
Setting Role as Healer: Whenever I’m in a raid or in a battleground, I’ll use this macro. It really saves time right-clicking my portrait, down to Set Role, then click on Healer.
/run UnitSetRole("player","HEALER")
Summons a Random Critter: This says your toon summons a random critter and actually summons a random critter.
/em summons a random critter!
/script SummonRandomCritter()








Shadow
Discipline



















