i heard curse was comprimised. can anyone confirm it was / wasn't?
Withdraw:
/script for bag = 5, 11 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"Pigment") then DEFAULT_CHAT_FRAME:AddMessage("Get"..name) UseContainerItem(bag,slot) end end end
I don't know how to include the original bank space (-1, the space in bank you have even if you have no bags). But those work OKish for what i need. I can post one that works for gbank too if anyone needs it.
i found this on mmowned forums posted way back in september:
[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