Hello, i want script which move ALL items, from backpack to depot box :)
Can someone help me?
Printable View
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
Not working so good, as I wanted.
Still want help :(
For example: I got loot from all characters in backpacks, I have got around 50-60 backpacks, one backpack - 20 slots of pure loot (stacks and not), i want to move it from backpack to depot box ii, without any openers.
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
if you want to move items from depotbox 1 to depot box 2 ?