Macro lessons · Lesson 5 of 5
TopBuilds.gg
Lesson 5 Advanced macros
Several lines, priorities, stopping a cast and fitting it all in 255 characters.
WoW Advanced Macros
Once the basics work, most advanced macros are the same few ideas stacked: more than one line, the order of options, and a few helper commands.
By TopBuilder · Updated November 24, 2026
Several lines, one global cooldown
Lines run from top to bottom on one press, but only one spell on the global cooldown can go off per press. Put items and spells that sit outside the global cooldown above the main spell, and the main spell last.
/use 13
/use 14
/cast SpellHelper commands
- /stopcasting cancels the spell you are casting so the next line can go off at once.
- /stopmacro [condition] ends the rest of the macro when its condition is true.
- /cancelaura Buff Name removes one of your own buffs.
- A ! in front of a spell name stops a toggle from switching itself off: /cast !Spell.
#showtooltip with conditions
#showtooltip alone shows the spell the macro would cast right now, so the button icon follows your conditions. You can also give it a spell or its own conditions to pin the icon to one spell.
Staying under 255 characters
- The counter under the macro box counts everything, including line breaks.
- Drop conditions you do not need: nodead and help are the most common extras.
- Split a long macro into two buttons rather than squeezing it.
- Scripts such as /run are outside what these tools check.
Examples
Trinkets and a spell
Both trinket slots, then the spell.
#showtooltip
/use 13
/use 14
/cast FireballStop a cast, then heal
Cancels what you are casting so the heal starts immediately.
#showtooltip
/stopcasting
/cast [@mouseover,help,nodead][@target,help,nodead][@player] Flash HealEnd early in combat
Does nothing during combat; buffs only when out of it.
/stopmacro [combat]
/cast Arcane IntellectTry it yourself
Try it yourself
#showtooltipShows the icon and tooltip of the spell the macro would cast, so the button changes with your conditions.
/stopcastingStops the spell you are casting.
/cast [@mouseover,help,nodead][@target,help,nodead][@player] Flash HealCasts Flash Heal on the unit under your mouse, if it is a friend you can help and it is alive; otherwise on your target, if it is a friend you can help and it is alive; otherwise on you.
/cast- Casts
@mouseover- Aims at the unit under your mouse
help- The unit is a friend you can help
nodead- The unit is alive
@target- Aims at your target
help- The unit is a friend you can help
nodead- The unit is alive
@player- Aims at you
Flash Heal- Spell name
Tested in the game
WoW Forever
5 of 5 parts here were tried in the WoW Forever client.
/use· tested/stopcasting· tested/stopmacro· tested/cancelaura· testedtoggle-bang· tested
WoW Retail
5 of 5 parts here were tried in the WoW Retail client.
/use· tested/stopcasting· tested/stopmacro· tested/cancelaura· testedtoggle-bang· tested
FAQ
Why does only the first spell of my macro go off?
Only one spell on the global cooldown can go off per press. Later lines for such spells do nothing that press.
How long can a macro be?
255 characters. Split the job into two macros if it does not fit.