Hunter Macros

Talk about things like elves and gnomes. (It's cooler than it sounds.)

Hunter Macros

Postby Monster on Thu Dec 09, 2004 4:04 pm

Stolen from the WoW hunter forum:

Pet Feeding Macro

This macro will automatically feed your pet with one click. You will need to keep the pet's food in your 3rd bag (second from the left) and in the 1st slot of the bag for it to work. You can substitute 1-4 for 3 in the script if you'd like to store the food in a different bag. Change the 1 to whatever you'd like if you'd rather not store the food in the first slot. Note that you should manually enter this script instead of copying/pasting or it may not work properly. Also, keep it all on one line (don't hit Enter).

Code: Select all
/script if (not PlayerFrame.inCombat) then if (not GetContainerItemLink(3, 1)) then OpenBag(3); else CastSpellByName("Feed Pet"); PickupContainerItem(3, 1); end end


EDIT: Changed the 4 in the script to a 3.
Last edited by Monster on Thu Dec 09, 2004 7:00 pm, edited 1 time in total.
User avatar
Monster
Site Admin
 
Posts: 2208
Joined: Tue May 27, 2003 6:00 pm


Postby Monster on Thu Dec 09, 2004 4:16 pm

Auto Aspect Macros

Use these macros to replace your Auto Shot and Attack buttons. This will check if you have the appropriate aspect cast, and if not will cast it right after attacking (won't work before attacking because of timing issues).

This casts Auto Shot then Aspect of the Hawk:

Code: Select all
/script CastSpellByName("Auto Shot"); x=1; y=0; while (UnitBuff("player", x)) do if (string.find(UnitBuff("player", x), "Raven")) then y=1; end; x = x + 1; end; if(y==0) then CastSpellByName("Aspect of the Hawk(Rank 3)"); end;


This starts the melee attack then casts Aspect of the Monkey:

Code: Select all
/script CastSpellByName("Attack");x=1;y=0; while (UnitBuff("player",x)) do if (string.find(UnitBuff("player", x), "AspectOfTheMonkey")) then y=1;end; x=x+1;end; if(y==0) then CastSpellByName("Aspect of the Monkey"); end
User avatar
Monster
Site Admin
 
Posts: 2208
Joined: Tue May 27, 2003 6:00 pm


Postby Wynn on Thu Dec 09, 2004 4:46 pm

Since half our guild is hunters, good idea posting that here.
User avatar
Wynn
 
Posts: 1320
Joined: Wed May 28, 2003 6:00 pm
Location: Some Dark Alley



Return to World of Warcraft

Who is online

Users browsing this forum: No registered users and 3 guests

cron