Questions
Questions
Grammar
All macro commands start with a forward slash ( / ) to separate them from normal
text actions.
All macros you create are saved in Blizzard's server and are bound to your account
or character.
At any given time, an account might have 120 macros saved, plus 18 macros saved for
each character.
Creating a Macro
Some macro directives that we will cover below allow you to override both name and
icon shown by the macro, so you don't need to spend a lot of time picking either.
You can name every macro just with a blank space and have the icon be the default
question mark without any problems, but it's better to give them a short name and
appropriate icon to identify them easily. Renaming a macro is easy -- just select
it in your macro list and click on Change Name/Icon
After selecting a name and an icon, you can drag the macro from the Macro Screen to
your action bars to use it when you hit a keybind just like a normal spell. The
next step is to write your macro.
Cast on Focus
Another useful macro is to cast a certain spell only on a given target. For
instance, you may want to damage one main target and interrupt another. For that,
you can set this interrupt target on Focus, by typing /focus while targeting that
target (which can also be accomplished by a macro!). Then you can write the macro
as follows:
Macro Tip: A little trick you can do is to add #showtooltip to the start of a macro
to have the macro behave as if it was the ability from the spellbook itself,
overriding names and adding result spell's tooltip shown in the macro.
For instance, the following macro will cast the Fireball at your focus target if it
exists, if it isn't dead and it is an enemy./ Otherwise the cast will happen on
your current target.
/cast [@focus,exists,nodead,harm][]Fireball
Adding a target modifier to your macro will change your current target to the one
specified if its conditional is true. @ (read 'at') can be replaced by target= in
every command. Below you'll find a toggler containing a list of available Target
Modifiers.
List of Target Modifiers
Available Conditional Modifiers
All these conditionals can be used to decide which action to be taken. You can add
no in front of all of them to have them have them behave the exact opposite. For
instance, noharm is true for any target that isn't an enemy, but that could include
targets that you can't help, like neutral NPCs.
List of Conditionals
Command Function
advflyable true if you are currently somewhere you can skyride.
button:number (or btn) used to check with which mouse button you activated the
macro. [button:1] is the default, left button, [button:2] right, [button:3] middle.
For mouses with more buttons the number of them button follows the pattern for the
option.
channeling true if you are currently channeling a spell.
combat true if you're in combat.
dead true if the target for the cast is dead.
equipped:slot (or worn) true if you have an item equipped in the slot. For
instance, [equipped:chest] will be true if you have a chest piece equipped.
exists true if the target for the cast exists.
flyable true if you are currently somewhere you can fly.
flying true if you are currently flying.
form:number or stance:number true if the character is currently in the given
form/stance of a given id. List below.
group true if you are currently in a group. Can be specialized to [group:party] or
[group:raid].
harm true if the target for the cast is an enemy.
help true if you can aid the target for the cast.
indoors true if you are currently in a position that is considered indoors.
known:spellID or known:spellName Used to check if your character knows how to
cast a certain spell. Useful for macros that should change depending on talents
learned
mounted true if you are currently mounted.
outdoors true if you are currently in a position that is considered outdoors.
pet true if the player has a current pet.
petbattle true if you are in a pet battlet
pvpcombat true if you can use PvP Talents.
resting true if you're in a rested area like a city or an inn.
spec:number true if you're currently in the specialization given by the number.
Specializations are ordered in alphabetical order and can be checked in the
Specializations Menu.
swimming true if you are currently swimming.
Druid Druid
Treant Form
If you don't have Moonkin Form learned, Treant form will return "4"
instead
Rogue Rogue
Vanish/ Shadow Dance (For Subtlety Rogues, all three return "1" instead).
Key Modifiers
Command Function
mod:shift true if the keybind was pressed while the SHIFT key was pressed.
mod:alt true if the keybind was pressed while the ALT key was pressed.
mod:ctrl true if the keybind was pressed while the CTRL key was pressed.
General Commands
These commands can be used for both combat and non-combat situations.
Command Function
/run (or /script) Execute the message after it as a LUA script (scripting language
present in WoW addons and scripts.
/use uses the item with the name written after the command. Can also be used with
numbers, which will cause it to use the item equipped in the slot of that number.
(i.e. /use Potion of Prolonged Power or /use 14 to use your second trinket)
1 - Head
2 - Neck
3 - Shoulder
4 - Shirt
5 - Chest
6 - Waist
7 - Legs
8 - Feet
9 - Wrist
10 - Hands
11 - Finger 1
12 - Finger 2
13 - Trinket 1
14 - Trinket 2
15 - Back
16 - Main hand
17 - Off hand
19 - Tabard
This guide covers the basics you need to know about to create your own macros, but,
if you would like to read more about them, make sure to check out Adreaver's guide
on the Official WoW Forums. If you would like example of macros for your class, you
can check Elvenbane's post on the Official Forums.