| [Macro] Withdraw All from Guild Bank WITHDRAW ALL FROM GUILD BANK (SPECIFIED ITEM) /run for t=1,GetNumGuildBankTabs()do for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and strfind(l,"YOURITEM")then SetCurrentGuildBankTab(t)_G[format("GuildBankColumn%dButton%d", ceil(s/14),s%14)]:Click("RightButton")end end end WITHDRAW ALL FROM GUILD BANK (GREENS) /run for t=1,GetNumGuildBankTabs()do for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and strfind(l,"cff1eff00")then SetCurrentGuildBankTab(t)_G[format("GuildBankColumn%dButton%d", ceil(s/14),s%14)]:Click("RightButton")end end end
DEPOSIT/TRADE/MAIL ALL ITEMS (SPECIFIED) /run for b=0,4 do for s=0,22 do l=GetContainerItemLink(b,s) if l and l:find("YOURITEM")then UseContainerItem(b,s) end end end
DEPOSIT/TRADE/MAIL ALL ITEMS (GREENS) /run for bag=0,4 do for slot=1,GetContainerNumSlots(bag) do local texture,itemCount,locked,quality=GetContainerItemInfo(bag,slot) if quality==2 then UseContainerItem(bag,slot) end end end
Last edited by !iMacroMage!; 07-20-2009 at 11:08 PM.
|