09-17-2021, 04:37 PM
Throw rune backpack inside house
This script check if there's no blank runes left and throw all backpacks inside house.
keywords: drop backpack inside house, drop rune bp on floor, drop rune backpack on ground
This script check if there's no blank runes left and throw all backpacks inside house.
local MAIN_BP = 'red backpack' -- Container window name or index.
local LOCATION_THROW = { X = 12345, Y = 12345, Z = 6 }
if itemcount('blank rune') == 0 then
local container = getcontainer(MAIN_BP)
for __, item in ipairs(container.items) do
if itemhasflags(item.id, 4) then
moveitems(item.id, ground(LOCATION_THROW.X, LOCATION_THROW.Y, LOCATION_THROW.Z), container.index, 100)
wait(300, 500)
end
end
end
keywords: drop backpack inside house, drop rune bp on floor, drop rune backpack on ground