Bank/Warbank question

Anyone know of an addon, setting or weakaura that will make my warbank the default window when i talk to a banker. Instead of our personal bank.

Something like:

/run local function ClickWB() BankFrameTab3:Click() end BankFrame:HookScript("OnShow", function () C_Timer.After(0, ClickWB) end)

If you don’t want to run that every login, paste everything but the /run to the website addon.bool.no to create/download a small addon to do it for you. (or if WA can run scripts when you login, you might be able to use that instead of create an addon.)

1 Like

Hey thanks so much for helping. The script doesn’t seem to be working for me. Still getting normal bank when I talk to the banker. I thoroughly checked TSM and Baganator to make sure that none of their settings are forcing the normal bank. They aren’t.

I also tried the addon route, starting with ‘local’ but no luck there either.

I appreciate your help.

The script is intended for the default bag frame (you didn’t specify otherwise). If you are using a bag addon then the script will need to account for that.

Ah ok, yeah. Using baganator. The author is pretty cool and open with his work he might take a request for the option to default to the warbank.

For Single Bank Bag View it would be

/run local function ClickWB() Baganator_SingleViewBankViewFrameblizzard.Tabs[2]:Click() end Baganator_SingleViewBankViewFrameblizzard:HookScript("OnShow", function() C_Timer.After(0.1, ClickWB) end)

For Category Bank Bag view it would be

/run local function ClickWB() Baganator_CategoryViewBankViewFrameblizzard.Tabs[2]:Click() end Baganator_CategoryViewBankViewFrameblizzard:HookScript("OnShow", function() C_Timer.After(0.1, ClickWB) end)

The addon version of each:
Single

local function ClickWB() Baganator_SingleViewBankViewFrameblizzard.Tabs[2]:Click() end Baganator_SingleViewBankViewFrameblizzard:HookScript("OnShow", function() C_Timer.After(0.1, ClickWB) end)

Category

local function ClickWB() Baganator_CategoryViewBankViewFrameblizzard.Tabs[2]:Click() end Baganator_CategoryViewBankViewFrameblizzard:HookScript("OnShow", function() C_Timer.After(0.1, ClickWB) end)

Maybe PlusMouse can add it as an option.

1 Like