What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How do you interact with guildbank?

Stuff on the bottom is just for my reference:

Character Bank
Deposit into Character Bank: (By Maverick.)
CODE: SELECT ALL
/run local t={"ITEMNAME", “ITEMNAME”} for k,v in pairs(t) do for b=0,4 do for
s=1,GetContainerNumSlots(b)do local n=GetContainerItemLink(b,s)if n and strfind(n,v)then
print("Depositing "..n)UseContainerItem(b,s)end end end end
Withdraw from Bank: (By Maverick.)
CODE: SELECT ALL
/run local t=1 for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and strfind(l,"ITEMNAME")then
SetCurrentGuildBankTab(t)AutoStoreGuildBankItem(t,s)end end


Guild Bank
Withdraw from all Tabs of Guild Bank: (By Maverick.)
CODE: SELECT ALL
/run for t=1,GetNumGuildBankTabs()do for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and
strfind(l,"ITEMNAME")then SetCurrentGuildBankTab(t)AutoStoreGuildBankItem(t,s)end end end
Withdraw from Certain Tab of Guild Bank: (By Maverick.)
CODE: SELECT ALL
/run local t=1 for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and strfind(l,"ITEMNAME")then
SetCurrentGuildBankTab(t)AutoStoreGuildBankItem(t,s)end end
Withdraw everything from the open build bank tab: (By me.)
CODE: SELECT ALL
/run local t=1 for s=1,98 do SetCurrentGuildBankTab(t)AutoStoreGuildBankItem(t,s)end
Deposit All to Guild Bank (Only Deposits into Open Tab): (By Maverick.)
CODE: SELECT ALL
#showtooltip Icethorn
/run for b=0,4 do for s=0,22 do l=GetContainerItemLink(b,s) if l and l:find("ITEMNAME")then
UseContainerItem(b,s) end end end

Swapping Guild Bank Tabs: (By SameX - In association with the 'Deposit All' macro.)
CODE: SELECT ALL
/click Guildbanktab2button
 
/run for b=0,4 do for s=1,GetContainerNumSlots(b)do local n=GetContainerItemLink(b,s)if n and strfind(n,"Glyph")then print("Depositing "..n)UseContainerItem(b,s)end end end
 
When trying to use

Deposit All to Guild Bank (Only Deposits into Open Tab): (By Maverick.)
CODE: SELECT ALL
#showtooltip Icethorn
/run for b=0,4 do for s=0,22 do l=GetContainerItemLink(b,s) if l and l:find("ITEMNAME")then
UseContainerItem(b,s) end end end

Code:
Message: [string "for b=0,4 do for s=0,22 do l=GetContainerItemLink(b,s) if l and..."]:1: 'then' expected near 'thenUseContainerItem'
Time: 09/01/11 17:36:45
Count: 1
Stack: [C]: in function `RunScript'
Interface\FrameXML\ChatFrame.lua:2057: in function `value'
Interface\FrameXML\ChatFrame.lua:4248: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3838: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3876: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: (*temporary) = "for b=0,4 do for s=0,22 do l=GetContainerItemLink(b,s) if l and l:find("Azshara's Veil")thenUseContainerItem(b,s) end end end"

The others doesn't work for me either. :(
 
Back
Top