This stops the auto closing of bags, is it updated?

i made an addon in 2014 for 5.4.8 called “StopClosingMyBags” and, as its title says, it prevents the game from auto-closing your bags when leaving vendors/bank/etc.)
and would like to know if it’s still good and if it can be improved for 2019 Classic.
i don’t know too much about writing addons, i made it with advices from addon makers.
so feel free to check it out, tell me what to change or even copy the idea and make the same under your name i really wouldn’t mind.
Thanx & GLHF!

LUA file code:

local f=CreateFrame(“Frame”)
f:Hide()
f:SetScript(“OnEvent”,function(self,event)
self:Show()
end)
f:SetScript(“OnUpdate”,function(self,elapsed)
self:Hide()
OpenAllBags()
end)
f:RegisterEvent(“MERCHANT_CLOSED”)
f:RegisterEvent(“MAIL_CLOSED”)
f:RegisterEvent(“BANKFRAME_CLOSED”)
f:RegisterEvent(“AUCTION_HOUSE_CLOSED”)

1 Like

I can’t answer your specific question, but I can offer an alternative.

There is a small addon called Leatrix Plus. It is loaded with quite a few of options for little quirks like this the author is great about keeping it up to date.

1 Like