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.
247
Rename Backpack/Container Names #32
First script will rename all open backpacks.
Second will rename the container on open.
218b | 6 lines.
UI.Button("Update Button Name", function()
    for i, container in pairs(getContainers()) do
        if not container.window then return end
        container.window:setText("BP: "..container:getId())
    end
end)
164b | 4 lines.
onContainerOpen(function(container, previousContainer)
    if not container.window then return end
    container.window:setText("BP: " .. container:getId())
end)

26 May 2021