Hello, i want script which move ALL items, from backpack to depot box
Can someone help me?
Hello, i want script which move ALL items, from backpack to depot box
Can someone help me?
https://forums.tibiawindbot.com/show...oxes-Depositer
nonstackableNumber = 2
stackableNumber = 2
Garkstal deposit: https://forums.tibiawindbot.com/show...quot-Depositer
Last edited by Ascoth; 10-24-2016 at 02:03 PM.
Open the depot chest, then open your loot bp in a new window.
local depotbox = getcontainer(0)
local lootbp = getcontainer(1)
while windowcount(lootbp.name) > 0 do
for i = 1, lootbp.itemcount do
local item = iteminfo(lootbp.item[i].id)
if not item.iscontainer then
moveitemsonto(item.id, itemid("Depot Box II"), 0, depotbox.name, lootbp.name)
waitping()
break
end
end
if iteminfo(lootbp.item[1].id).iscontainer and lootbp.itemcount == 1 then
openitem(lootbp.item[1].id, lootbp.name, false)
waitping()
elseif lootbp.itemcount == 0 then
closewindows(lootbp.name, true)
waitping()
end
end
Last edited by Rydan; 10-25-2016 at 01:56 PM.
if you want to move items from depotbox 1 to depot box 2 ?