View difference between Paste ID: 2LYVrWQ0 and 6XX7Zeki
SHOW: | | - or go back to the newest paste.
1
Edit: All macros condensed to this post
2
Updated for 5.4
3
4
I'm pretty big on macros, and I thought I'd share mine with the forum. Some of these are hunter specific, but I think a good amount of these could be applied to other classes, so hopefully they'll inspire someone. If you have any cool macros or macro uses to contribute, post them here!
5
6
Note: this guide assumes your first spec (top tab if you pull up your talents) is BM, and your second spec is survival.  If those are switched, reverse any [spec:1] and [spec:2] arguments.
7
8
PVE MACROS
9
10
Mouseover Macros
11
#showtooltip Black Arrow
12
/cast [@mouseover,harm][]Black Arrow
13
14
This macro will put black arrow on my mouseover if it exists, or on my target if I have no unfriendly mouseover. This is really good for add fights where adds die before dots can run their full duration, but there is a boss that I can apply dots to (like horridon, will of the emperor, garalon etc.). I have similar macros for serpent sting, black arrow, and a murder of crows. I also have a mouseover hunter's mark macro as you can sometimes mark a stealthy in arena if they use stealth right after the match begins.
15
16
Talent Macros
17
#showtooltip
18
/use [combat]Dire Beast
19
/use [combat]Fervor
20
/run local G=GetSpellInfo SetMacroSpell("focus", G"Fervor" or G"Dire Beast")
21
22
#showtooltip
23
/cast [combat] !auto shot
24
/use Glaive Toss
25
/use Powershot
26
/use Barrage
27
/run local G=GetSpellInfo SetMacroSpell("glaive", G"Glaive Toss" or G"Powershot" or G"Barrage")
28
29
#showtooltip
30
/cast [@mouseover,harm][]A Murder of Crows
31
/cast lynx rush
32
/cast blood fury
33
/run local G=GetSpellInfo SetMacroSpell("Crows", G"A Murder of Crows" or G"Lynx Rush")
34
35
36
These macros will use whatever ability you are talented into on that talent tier. The /run lines will change the tooltip to whatever you are talented into. The last macro will prefer to put crows on mouseover if it is a valid target. In order for the last line to work, the first word (ex. "Crows") in the parenthesis must match the name of the macro.
37
38
1 minute CDs
39
#showtooltip bestial wrath
40
/use 10
41
/cast rabid
42
/cast blood fury
43
/cast bestial wrath
44
/cast kill command
45
46
This macro activates 1m CDs, in the event that I want to use them but save rapid fire.
47
48
5.4 note: This macro is a bit useless currently with AoC and T16 2 piece.  Rapid fire has a CD of 30-45 seconds, and should almost never be delayed.  Thus I just use the DPS CDs macro below if I ever need to use rapid fire.
49
50
51
DPS CDs Macro
52
/use 10
53
/petattack
54
/cast Blood Fury
55
/cast Bestial Wrath
56
/cast rabid
57
/cast Rapid Fire
58
/cast [spec:1]kill command;[spec:2]explosive shot
59
/script UIErrorsFrame:Clear()
60
61
Blows all CDs, and uses primary focus spender for the appropriate spec to minimize input lag. Spirit walk is a buff for spirit beasts that stealths them but makes their next attack do 20% more damage.
62
 
63
hunter's mark
64
#showtooltip Hunter's mark
65
/use [@mouseover,harm][harm]Hunter's Mark
66
/cast Alchemist's Flask
67
/petautocastoff [spec:1]rabid
68
/petautocaston [spec:2]rabid
69
/petautocastoff [group]Growl
70
/petautocaston dash
71
/console CameraDistanceMaxFactor 51
72
73
I use hunter's mark to make sure my pets have the right abilities on auto cast (and have the right abilities turned off). This varies depending upon if i'm in a group or not so i use those arguments. The console camera distance increases the max distance of my camera. I also use this to make sure I have my alchemy flask buff on. This also turns rabid on auto cast if i'm in survival and on manual cast if i'm BM.
74
75
cancelaura macro
76
/cancelaura deterrence
77
/cancelaura Hand of Protection
78
/cancelaura divine shield
79
/cancelaura levitate
80
/cancelaura Misdirection
81
/cancelaura goblin glider
82
/cancelaura slow fall
83
/cast heart of the phoenix
84
/mountspecial
85
/dismount
86
/script VehicleExit();
87
88
I mostly use this to quickly get rid of deterrence in fights so I don't have to right click it. Very useful for things like ultraxion if you're soaking so you can pop it then quickly turn it off after it hits so you don't lose dps uptime. I also use this to get rid of annoying buffs, and to turn off trap launcher and cancel misdirect. Also condensed this bind for quick rezzing of my pet and quick exiting of vehicles.
89
90
The Ultimate Misdirect Macro
91
#show Misdirection
92
/cast [@Activis,mod:ctrl,exists][@Vakarian,exists][@focus,exists]Misdirection
93
/cast dive
94
/cast dash
95
/stopmacro [@focus,exists][@Vakarian,exists][@Activis,exists]
96
/cast [@pet]Misdirection
97
/cast [@pet,combat]Cower
98
99
Will default to MDing our main tank or our off tank if control is held down. If neither are present, MD goes on focus target. If no focus target exists, MD will go on pet. Also, the pet will cower/take reduced damage if it is triggered while in combat. Because dash and dive are macro'd into this, it should be used at least 7 seconds before the pull begins so the pet's focus will be capped before the fight begins.
100
101
pet abilities
102
#showtooltip
103
/petpassive [pet:quilen]
104
/cast [pet:Wolf]Furious Howl;[pet:spider]web;[pet:core hound]Ancient Hysteria;[@playertarget,pet:quilen]Eternal Guardian;[pet:hyena]cackling howl;[pet:tallstrider]dust cloud
105
/cast [help][@cutsman]spirit mend
106
107
All in one pet buff macro. Added a line to make brez more responsive with quilens. Also added a line for spirit mend so it will heal the current target if it is friendly, or myself if it isn't.
108
109
Stampede Macro
110
#showtooltip stampede
111
/cast rapid fire
112
/cast blood fury
113
/cast stampede
114
/cast rabid
115
/use 13
116
/use 10
117
118
Stampede pets no longer use use focus, so it is not necessary to use rapid fire with stampede.  I have it included for the sake of minimizing input lag.
119
120
PvE Kill Shot
121
#showtooltip Kill Shot
122
/cancelaura Deterrence
123
/cancelaura Hand of Protection
124
/cast [@mouseover,harm][]Kill Shot
125
/script UIErrorsFrame:Clear()
126
127
Similar to the PvP kill shot macro, but without /stopcasting lines so it doesn't clip cobra shot casts. There is a mouseover element to this macro.
128
129
Heal Deterrence
130
#showtooltip deterrence
131
/cast deterrence
132
/cast [@Cutsman] Spirit Mend
133
134
If you can use a spirit beast, this is good to have for situations where you're using deterrence for the damage reduction (and not an immunity on an attack). Ex: crushes on garalon.
135
136
Multi Shot
137
#show multi-shot
138
/cast [@mouseover,harm][harm]multi-shot
139
/petattack [@pettarget,noexists]
140
/use [spec:2] 10
141
142-
For single target, I use engineering gloves with BW or explosive shot.  In the event that I’m spamming multi shot (bats on H thok), this makes sure engineering gloves don’t go to waste.
142+
For survival single target, I use engineering gloves with explosive shot.  In the event that I’m spamming multi shot (bats on H thok), this makes sure engineering gloves don’t go to waste.
143
144
PVE Pet Management
145
Survival: Explosive Shot
146
#showtooltip Explosive Shot
147
/petattack [@pettarget,noexists]
148
/cast Explosive Shot
149
/use 10
150
151
Along with using engineering gloves and explosive shot, this will tell my pet to attack my target if my pet's current target doesn't exist.
152
153
Beast Mastery: Kill Command
154
#showtooltip kill command
155
/cast [nopet] call pet 1
156
/cast [combat] !auto shot
157
/petattack
158
/cast kill command
159-
/castsequence reset=1 !aspect of the hawk, null
159+
160
/cast dive
161
162
Kill command macro; this is how I control my pet as BM. Summons your pet if it's not out, and has the pet attack your current target and dash/dive at it, and puts you in hawk for kill command (the hawk part isn’t necessary anymore, but it still works).  The important distinction is that the pet will attack my currently targeted unit, rather than switching if it doesn't have a current target.
163
164-
Kill command macro. Summons your pet if it's not out, and has the pet attack your current target and dash/dive at it, and puts you in hawk for kill command (this part isn’t necessary anymore, but it still works). This is how I control my pet while BM. The important distinction is that the pet will attack my currently targeted unit, rather than switching if it doesn't have a current target.
164+
165
#show Master’s Call
166
/cast [@Solidx]Master’s Call
167
168
In the unlikely event that I have to go BM for a fight that involves a lot of target switching (ex. no lust on my side on spoils), I use this macro to target switch if blink strikes is on cooldown.  Generally I target the most mobile melee dps, which will generally be a rogue or warrior.
169
170
171
PVP MACROS
172
173
Antistealth
174
/cleartarget
175
/targetenemyplayer
176
/startattack
177
/petattack
178
/cast [harm,exists] dash
179
/cast Hunter's Mark
180
/petassist
181
/script UIErrorsFrame:Clear()
182
183
Spammable macro which targets the nearest enemy, puts hunters mark on it if i can target something, and sends my pet to attack. REALLY good if you know a stealthed player is nearby.
184
185
master's call
186
#showtooltip Master's Call
187
/cast [help][@cutsman]Master's Call
188
189
Will cast master's call on my current target if it is friendly or on myself.
190
191
Focus Interrupt
192
#showtooltip Silencing Shot
193
/cast [@focus,harm][]Silencing Shot
194
195
Standard focus interrupt macro.
196
197
Engineering goblin glider
198
#showtooltip 15
199
/use 15
200
201
Uses goblin glider no matter what cape I have equipped.  Mostly useful before getting legendary cloak.
202
203
Engineering rocket boots
204
#showtooltip 6
205
/cancelaura stampeding roar
206
/cast [nocombat]!Aspect of the cheetah
207
/cast !Ghost Wolf
208
/use 6
209
210
Similar to the goblin glider macro, this will use my belt tinker (rocket boots) no matter what belt I have equipped.  Stampeding roar prevents rocket boots, so this macro cancel’s that as rocket boots is faster. This macro will also put me in aspect of the cheetah if I am out of combat, as cheetah's speed stacks with rocket boots.  I use the same macro on my shaman which is why ghost wolf is in there.
211
212
213
PvP kill shot
214
#showtooltip Kill Shot
215
/stopcasting
216
/stopcasting
217
/cancelaura Deterrence
218
/cancelaura Hand of Protection
219
/startattack
220
/castsequence reset=1 !Aspect of the hawk, null
221
/cast [@mouseover,harm]Kill shot;Kill Shot
222
/script UIErrorsFrame:Clear()
223
224
This is for super quick kill shots (executes) in PvP. If I'm mid cobra shot I'll stop casting. You need stop casting twice because /stopcasting stops auto shot then cobra in that order. If I'm protected by deterrence or hand of protection it'll remove that. The cast sequence thing makes it so I switch to hawk every time I use kill shot for maximum damage. The ! before aspect of the hawk makes it so I will constantly reapply the hawk buff instead of switching between on and off.
225
226
Many players who pvp more will put 2 stop casting lines on many more pvp oriented abilities such as master's call, concussive shot, disengage etc.
227
228-
Many players who pvp more will put 2 stop casting lines on many more pvp oriented abilities such as master's call, concussive shot, 
228+
229
/equipset PVE
230
/equipset PVP
231
232
These 2 lines are actually two different macros. I use these in BGs to quickly switch between my 2 different gear sets. I'm in PvP gear 95% of the time but in situations like killing the AV or isle of conquest bosses I switch to PVE gear to put out more dps.  These should still work even if your equipment manager bugs and doesn't show your equipment sets.
233
234-
These 2 lines are actually two different macros. I use these in BGs to quickly switch between my 2 different gear sets. I'm in PvP gear 95% of the time but in situations like killing the AV or isle of conquest bosses I switch to PVE gear to put out more dps.
234+
235
236
Hunter's Mark Macro
237
(same as PVE version)
238
239
My hunter's mark macro has a pvp function built in: it will prefer to cast HM on mouseover targets. This is good for arena matches against any team with a stealth class and especially rogue teams who use mass stealth as you can sometimes get a hunter's mark on someone that stealths after the doors open and ruin their opener.
240
241
Misc Macros
242
243
World Boss Kill Tracker
244
/run for k, v in pairs({Ordos = 33118, Trove = 32609, Celest = 33117, Gal = 32098, Roll = 33134, Nal = 32518, Oon = 32519}) do print(format("%s: %s", k, IsQuestFlaggedCompleted(v) and "\124cff00ff00Done\124r" or "\124cffff0000Not Done\124r")) end
245
Will output to your chat box what world bosses you have killed for the week, and whether you have done your lesser charm weekly quest.
246
247
alliance taunt
248
/y UO UO UO UO
249
/y A C    D C A
250
/y I H I
251
252
Yells this message in alliance speak: "HA HA HA HA GO LOG LOL"
253
I also know the following horde to alliance translations:
254
255
101 101 - ZUG ZUG
256
CD CCCC - NO DOGG
257
258
259
repetitive quest turn in macro
260
/script SelectGossipAvailableQuest(1) 
261
/script CompleteQuest() 
262
/script GetQuestReward() 
263
264
I could spam this while standing next to an npc in order to turn in quests over and over. I used this for turning in 1400 heavy junk boxes quickly for the insane. If the quest you turn in over and over is not the first one offered, switch the 1 with 2 if its the second quest offered, 3 for 3rd quest from the top etc.
265
266-
I could spam this while standing next to an npc in order to turn in quests over and over. I think i used this for turning in 1400 heavy junk boxes quickly for the insane. If the quest you turn in over and over is not the first one offered, switch the 1 with 2 if its the second quest offered, 3 for 3rd quest from the top etc.
266+
267
/script _=GetAchievementLink(2336);print('Shift click to link:', _)
268
269
This gives a linkable progress on insane in the membrane. You can't do this through the achievement window because insane in the membrane is a feat of strength and therefore it only appears when you earn it.
270
271
272
Fight specific macros
273
274
Heroic Spoils
275
/tar un
276
277
For quick targeting of unstable sparks
278
279
Heroic Horridon and Tortos
280
#show Serpent Sting
281
/targetexact direhorn spirit
282
/targetexact humming crystal
283
/use serpent sting
284
285
heroic vizier
286
#showtooltip scatter shot
287
/cast disengage
288
/cast scatter shot
289
290
to disengage and scatter shot on cooldown with one input on the MC platform
291
292-
to blow disengage and scatter shot on the MC platform
292+
293
/cancelaura spirit mend
294
/cancelaura renew
295
/cancelaura riptide
296
/cancelaura renewing mist
297
/cancelaura rejuvenation
298
/cancelaura echo of light
299
/raid hots cleared
300
301
gets rid of all HoTs so the debuff that does damage in proportion to healing received doesn't make you take more damage. Good for fights like amber shaper if you get parasitic growth debuff or twin consorts for the tank.
302
303
heroic spirit kings
304
/stopcasting
305
/stopcasting
306
/petpassive
307
/petfollow
308
309
to make all your pets stop attacking so they don't trigger the bomb. Not sure if this is necessary, just never tested otherwise :P
310
311
extra action button
312
/click ExtraActionButton1
313
314
macro so you can bind your extra action button. Important because it can be more useful if macro’d with different things.  For example, here is my H sha of fear macro:
315
316-
macro so you can bind your extra action button like on ultraxion or madness. Important because it can be more useful if macro’d with different things.  For example, here is my H sha of fear macro:
316+
317
/stopcasting
318
/target mouseover
319
/click ExtraActionButton1
320
/Y Passing the light to %t! OVER
321
/targetlasttarget
322
323
324
outdated macros
325
326
Readiness
327
#showtooltip readiness
328
/cast fervor
329
/cast exhilaration
330
/cast readiness
331
332
RIP Readiness
333
334
princes bomb macro
335
/petattack [harm]
336
/cast [harm] Dash
337
/script SetRaidTarget("target", 5)
338
/targetlasttarget
339
340
i used this on the princes fights in ICC. It would send my pet to dash at and attack a bomb, mark the bomb with a raid market, and has me target my original target before i clicked on the kinetic bomb. 
341
342
sindragosa frost tomb macro
343
/rw {skull}{cross}{square}
344
/rw {moon}{triangle}{diamond}
345
/y {skull}{cross}{square}
346
/y {moon}{triangle}{diamond}
347
348
yells and raid warns sindragosa positions for 25 man. delete diamond for non heroic attempts
349
350
Resources
351
352
www.macroexplain.com - a great tool for checking macro syntax correctness.