Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
2.3K
Reopen Backpack #35
First will auto open on a timer
Second will auto open when first container closes.
144b | 7 lines.
macro(1000, function()
    bpItem = getBack()
    bp = getContainer(0)

    if not bp and bpItem ~= nil then g_game.open(bpItem) end

end)
- remove | + add
158b | 6 lines.
onContainerClose(function(container)
    bpItem = getBack()
    if container:getId() == 0 and bpItem ~= nil then
        g_game.open(bpItem)
    end
end)
- remove | + add

26 May 2021
Ads