Here are some examples of some good Hunter class macros:
Pet Macros:
/cast [pet,mod:shift] Dismiss Pet<br />/cast [nopet,button:2]Call Pet 2; [nopet,mod:shift]Call Pet 3; [nopet,mod:ctrl]Call Pet 4; [nopet,mod:alt]Call Pet 5; [nopet]Call Pet 1
If a pet is out and you're holding down [shift], then it will dismiss your pet. If you have no pet out and you push "button 2", it will call your second pet. If you have no pet and hold down [shift], it will call your third pet. If you have no pet out and you hold down [ctrl], it will call your fourth pet. If you have no pet out and you hold down [alt], it will call your fifth pet. Otherwise, it will call your first pet.
#shotooltip<br />/cast [button:1,modifier] Revive Pet<br />/cast [button:1,@pet,exists] Mend Pet<br />/cast [button:2,@pet,noexists] Call Pet<br />/cast [button:2,modifier] Dismiss Pet
If you're holding down a modifier and you click "button 1", you'll revive your pet. If your pet exists and you click "button 1", it will cast "Mend Pet". If your pet does not exist and you click "button 2", it will call your pet. If you're holding down a modifier and you click "button 2", it will dismiss your pet.
Trap Macros:
#showtooltip<br />#show Explosive Trap<br />/castsequence reset=15 Trap Launcher, Explosive Trap
This will first cast "Trap Launcher", then once used again, it will cast "Explosive Trap". The macro will reset in 15 seconds or when the sequence is complete. The reset is 15 seconds because that is how long the buff "Trap Launcher" lasts. For all the traps you want just replace "Explosive" with whichever trap you want.
#showtooltip <br />/stopcasting<br />/stopattack<br />/cast [modifier:alt] Ice Trap; Freezing Trap
This will stop your attacking and casting so that you will not accidently break your traps. If you're holding down [alt] you will cast Ice Trap, if not, you will cast Freezing Trap.
#showtooltip<br />/castsequence reset=15 Trap Launcher,!Freezing Trap<br />/cast [mod:alt]Ice Trap<br />/cast [mod:shift]Snake Trap<br />/cast [mod:ctrl]Explosive trap
This will cast Trap Launcher, then cast Freezing Trap once click again. If you're holding down [alt] it will cast Ice Trap. If you're holding down [shift] it will cast Snake Trap. If you're holding down [ctrl] it will cast Explosive Trap.
For Survival Hunter:
#showtooltip<br />/focus [mod]<br />/clearfocus [@focus,dead]<br />/cast [@focus,harm,nodead] Wyvern Sting
Misdirection Macros:
It is highly advised you use more than one Misdirection macro, just in case there are different situtations that call for different
uses of MD.
#showtooltip<br />/cast [@focus,help][help][@pet,exists] Misdirection
This will cast "Misdirection" if your focus target is friendly, if you don't have a focus target then it will look for your current
target and cast it on them, if none of those exist then it will cast it on your pet.
#showtooltip<br />/focus [help]<br />/stopmacro [help]<br />/cast [@focus,exists] Misdirection;[@pet,exists] Misdirection
This will set your focus target to whatever your target is, but it will not set your focus to an unfriendly target, the macro
will stop. You only have to set your focus target once. After this, it will cast "Misdirection" on your focus target, if it
exists. If none of this is true, then it will cast "Misdirection" on your pet, if it exists.
#showtooltip <br />/cast [@focus,help][@focustarget,help][@target,help][@targettarget,noplayer,help][@pet,nodead,exists] Misdirection
This will cast "Misdirection" at your focus target and it's friendly, if not, then it will cast at your unfriendly focus target's
target, if not, then it will cast at your current target if it's friendly, if not, then it will cast at your unfriendly target's
target, if not, it will cast at your pet if it's not dead and exists. Be careful when yo use "[@targettarget] for your Misdirection
macros, your enemy target may be attacking a healer and you do not want your threat to go to them. It is highly advised that you
use two to three variations of this macro.
Hunter's Mark Macros:
#showtooltip Hunter's Mark<br />/assist [@focus, exists]<br />/cast [harm] Hunter's Mark;<br />/focus [help]
This will assist your focus target if you have one. Then, it will cast "Hunter's Mark" at an unfriendly target. The last line will
set your focus target if you don't already have one and your target is friendly (hopefully your tank) - you only need to do that
once.
#show Hunter's Mark<br />/cast !Aspect of the Hawk<br />/cast Hunter's Mark
This will toggle "Aspect of the Hawk" on, and keep it on, before casting a "Hunter's Mark".
#showtooltip Hunter's Mark<br />/assist [@focus, exists]<br />/cast !Aspect of the Hawk<br />/cast [harm] Hunter's Mark;<br />/focus [help]
This is simply a combination of the two previous macros. This will assist your focus, cast "Aspect of the Hawk" if it's not on
already, then cast "Hunter's Mark" on your focus target's target. The last line will set your focus target if you don't already
have one and your target is friendly (hopefully your tank) - you only need to do that once.
#showtooltip Hunter's Mark<br />/assist [@focus, exists]<br />/cast !Aspect of the Hawk;<br />/cast [harm] Hunter's Mark;<br />/startattack [harm]<br />*/focus [party]
This is another version of the previous macro. This has "/startattack" added in, so I wouldn't use it as your main Hunter's Mark macro,
but it is great for switching targets in the heat of battle. *I put "/focus [party]" because sometimes your focus target might be
targetting a friendly NPC, and if you assist your focus target, and they're targetting a friendly NPC, your focus target will switch to
that NPC, which can get annoying. I would still be careful with this because your tank might be targetting a healer, then it would
switch your focus to that healer. Honestly, I wouldn't put in that last line unless you want to change focus targets on the fly and you
know what target is going to be set to focus target.
#showtooltip Hunter's Mark<br />/assist [@focus, exists]<br />/cast !Aspect of the Hawk;<br />/cast [harm] Hunter's Mark;<br />/startattack [harm]<br />/petattack [harm]
This is the final version of the Hunter's Mark macro. I have taken out the setting of the party member as a focus and replaced it
with my pet attacking the assist target that I have gotten. I suggest setting your focus target manually, just in case your focus target
is targetting something that the macro can set as a focus target. This will also send your pet to attack your focus target's target,
which will happen as soon as you switch targets, which is quicker than WoW's "petassist" mode, espcially if you're casting a spell or
ability that take a few seconds.