Jump to content

Recommended Posts

Posted

Hey, since i was in great need of this, i searched a bit on google and found this. Macro for semi-automatic milling. Practicaly, it scan your bag for items, after that, you just spam the milling macro untill you run out of herbs.

 

First macro, which you run just once:

/run function FnH() for i=0,4 do for j=1,GetContainerNumSlots(i) do local t={GetItemInfo(GetContainerItemLink(i,j) or 0)} if t[7]=="Herb" and select(2,GetContainerItemInfo(i,j))>=5 and t[11]>=200 then return i.." "..j,t[1] end end end end

 

Second macro, the one you spam:

/run local f,l,n=AuM or CreateFrame("Button","AuM",nil,"SecureActionButton Template") f:SetAttribute("type","macro") l,n=FnH() if l then f:SetAttribute("macrotext","/cast Milling\n/use "..l) SetMacroItem("zzMilling",n) end
/click AuM

 

 

If you need detailed explanation, you can head over here and read full article: http://www.warcraft-planet.com/useful-world-of-warcraft-milling-macros/

 

I've added another macro there which might speed up whole thing. Cheers!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...