Code: Select all
/cast Milling
/use Gorgrond Flytrap
/use Talador Orchid
/use Nagrand Arrowbloom
/use Starflower
/use Fireweed
/use Frostweed
Code: Select all
/cast Milling
/use Gorgrond Flytrap
/use Talador Orchid
/use Nagrand Arrowbloom
/use Starflower
/use Fireweed
/use Frostweed
Code: Select all
/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 then return i.." "..j,t[1] end end end end
Code: Select all
/run local f,l,n=AuM or CreateFrame("Button","AuM",nil,"SecureActionButtonTemplate") f:SetAttribute("type","macro") l,n=FnH() if l then f:SetAttribute("macrotext","/cast Milling\n/use "..l) SetMacroItem("Macro Name",n) end
/click AuM
Users browsing this forum: No registered users and 21 guests