Copied this from other thread to sticky one
=====================
Some peeps asked me for the hunter macro's that I use. These are all designed to reduce the amount of buttons needed on hotkey/action bar, or co-ordinate attacks between you & pet. Soooo here they are enjoy:
You can copy paste them into your macro-local.txt in the WTF/accunt folder (remember to adjust the macro number if you already have some macro's) or just type them in normally in game. Some of these macro's require Zorlens hunter functions addon
http://www.curse-gaming.com/mod.php?addid=528. I also strongly recomend these hunter addons too.
BC Tracking Menu, to save you 10 buttons in one
Range Help, for easy range guide, & action bar switch
Smart Pet, for pet control
================
This macro casts mark & send pet to attack
MACRO 1 "Mark" Ability_Hunter_SniperShot.blp
/cast Hunter's Mark
/script PetAttack();
END
================
Neat macro to call pet if you don't have it out, or dismiss pet if you do, or rez pet if it's dead. 3 buttons in one!
MACRO 2 "Call Pet" Ability_Hunter_BeastCall
/script if (UnitIsDead("pet")) then CastSpellByName("Revive Pet") elseif (UnitExists("pet")) then CastSpellByName("Dismiss Pet") else CastSpellByName("Call Pet"); end
END
================
Macro to assist your pet & cast mark on its target, nice for picking up what your pet is attacking easily.
MACRO 3 "Pet" Ability_Druid_SupriseAttack
/script TargetUnit("pet");
/assist
/cast Hunter's Mark
END
================
Sends pet to attack, casts monkey if it isn't active, or wing clips if it is
MACRO 4 "Melee" Ability_Parry
/cast Attack()
/script PetAttack()
/script if (not isMonkActive()) then CastSpellByName("Aspect of the Monkey"); end
/script if (not isClipped("target")) then CastSpellByName("Wing Clip"); else CastSpellByName ("Raptor Strike") end
END
================
Standard Auto fire macro, but it checks to make sure you have hawk, if not casts it.
MACRO 5 "Fire" Ability_PierceDamage
/cast Auto Shot
/script if (not isHawkActive()) then CastSpellByName("Aspect of the Hawk"); end
END
================
Basic melee spam: Wing clip the target, or if they already are snared, does raptor stike
MACRO 6 "Clip" Ability_Rogue_Trip
/script if (not isClipped("target")) then CastSpellByName("Wing Clip"); else CastSpellByName ("Raptor Strike") end
END
================
Aimed shot macro, checks to make sure you have hawk, if not casts it. Also will shadow meld you (Non NE's should remove the meld line) then does aimed shot
MACRO 7 "Sniper" Ability_Marksmanship
/script if (not isHawkActive()) then CastSpellByName("Aspect of the Hawk"); end
/script if (not PlayerFrame.inCombat) then CastSpellByName("Shadowmeld(Racial)"); end
/cast Aimed Shot
END
===================
Feign/Freeze trap macro, stop pet where it is, & FD's, click button again & you'll stand up with a freeze trap at your feet
MACRO 8 "Feign" Ability_Rogue_FeignDeath
/script PetPassiveMode();
/script ClearTarget();
/cast Feign Death();
/cast Freezing Trap()
END
===================
One button sting, if target has mana it cast viper, & not it casts serpent. Nobody uses scorpid anyway
MACRO 9 "Sting" Ability_Hunter_AimedShot
/script if UnitPowerType('target')>0 then CastSpellByName("Serpent Sting"); else CastSpellByName("Viper Sting"); end
END
===================
Instant Raptor stike & wing clip macro
MACRO 10 "Raptor" Ability_MeleeDamage
/cast Raptor Strike()
/cast Wing Clip()
END
===================
1 button for kiting. Checks for snare, if not does conc shot, then casts arcane shot
MACRO 11 "Conc" Spell_Frost_Stun
/script if (not isClipped("target")) then CastSpellByName("Concussive Shot"); end
/cast Arcane Shot
END
======================
Scatter shot macro
MACRO 12 "Scatter" Ability_GolemStormBolt
/script PetPassiveMode(); ClearTarget(); end
/cast Scatter Shot()
END