You are on page 1of 2

6.

Macros - Tips, Tricks, and Shortcuts

There are a number of tricks and shortcuts you can use in your macros to make
them go a bit further within the 255 character limit. For example, /cast and /use
function exactly the same way. So in our initial example, you could instead write
it as:#showtooltip
/use Flash Healto shorten it by 1 character.

Similarly, certain conditionals imply other conditionals. For example, [exists]


means "if I have a target". [help] means "if I have a friendly target". Thus [help]
implies [exists]; if you have a friendly target, it is obvious that you have a target.
Thus only the [help] condition is needed.

Additional whitespace and punctuation are not needed in the macro


interface./use [help]Flash Healis the same as/use [help] Flash
Healremoving additional whitespace can be helpful with complex macros when
trying to stay below the 255 character limit.

Multiple modifiers can be used in the same macro command. For example, the
following macro combines all useful teleport spells for a mage, including
hearthstones, and blink, into a single line:#showtooltip
/use
[mod:ctrlaltshift]Teleport:Shattrath;[mod:ctrlalt]Teleport:
Dalaran;[mod:ctrlshift]Teleport:Stormshield;[mod:altshift]T
eleport:Vale of Eternal
Blossoms;[mod:ctrl]Teleport:Stormwind;[mod:alt]Garrison
Hearthstone;[mod]Hearthstone;Blink

Certain abilities can be macroed together to be used at the same time - provided
they don't incur a Global Cooldown. Common examples are Trinkets, Potions,
DPS Cooldowns, Interrupts, Tank's Active Mitigation, among others.
Example:#showtooltip Trueshot
/use Potion of Deadly Grace
/use Blood Fury
/use 13
/use 14
/use TrueshotIn this case, the idea is to pop all your DPS cooldowns at once,
ensuring maximum benefit (particularly during Bloodlust, or a phase where a
boss takes increased damage). Another possible usage would be to add a strong
DPS ability, like Marked Shot, ensuring that your DPS cooldowns are used as
many times as possible to maximum effect. Abilities that can be used in this way
are different for every class/spec, so experiment! If you report off-GCD abilities in
this thread, I will compile a list in one of the later posts.

www.macroexplain.com - great resource for players writing macros, particularly


those who are inexperienced. You copy and paste your macro into this web site,
and it will tell you, in plain text, what the macro will do. It will also let you know
how much room you have to expand the macro, if you go over the 255 character
limit, and if you have any errors. This site does have some limitations: it is not up
to date on many of the more recent syntax changes (/cast and /use being
functionally identical, for example), and it is missing a large amount of spell data,
but the basic functionality works very well.

http://wow.gamepedia.com/Making_a_macro - Very useful writeup of a lot of


the information contained in this guide. Like this guide, primarily aimed at users
new to the macro system, but there may be some helpful tips for veteran players
as well.

http://wow.gamepedia.com/Useful_macros_for_rogues (or any other class) -


Not necessarily the most up to date, but can be a great jumping off point for
class-specific macros. A handy Rogue macro (for example) combines Pickpocket
with Ambush, ensuring that you pickpocket enemies as you open from stealth.
Be aware that many of the macros you see on sites like this may not be updated
for Legion.

PvP Targeting can be tricky - you want to be able to easily TAB target, but with
pets, guardians, and totems around it can be difficult to select the target you
actually want to attack. This macro will swap your TAB key between "Target
Enemy" and "Target Enemy Player":/run local
T,t,P,m="TargetNearestEnemy","TAB","Player"," is now set to
"if GetBindingAction(t)==T then
SetBinding(t,T..P)print(t..m..T..P)else
SetBinding(t,T)print(t..m..T)end

You might also like