Reopen Backpack
#35
First will auto open on a timer
Second will auto open when first container closes.
Second will auto open when first container closes.
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
macro(1000, function()
bpItem = getBack()
bp = getContainer(0)
if not bp and bpItem ~= nil then g_game.open(bpItem) end
end)
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
onContainerClose(function(container)
bpItem = getBack()
if container:getId() == 0 and bpItem ~= nil then
g_game.open(bpItem)
end
end)
26 May 2021