Hello. anyone can help me and fix this script? i dont know why but bot dont want to open depo.
Thanks
Skie


closewindows()



setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no")







while (windowcount(mainBp) <1) or (windowcount(lootBp) <1)



do



closewindows()



wait(1100,1200)



openitem(mainBp, "back", true)



wait(1100,1200)



resizewindows()



wait(1100,1200)



openitem(lootBp, mainBp, true)



wait(1100,1200)



resizewindows()



end







while (windowcount("Locker") <1)



do



reachgrounditem("Depot")



openitem("Depot")



wait(500,600)



end







while (windowcount("Depot Chest") <1)



do



openitem(3502, "Locker")



wait(500,600)



end



while itemcount("Brown Mushroom", mainBp) < 50 and itemcount("Brown Mushroom", "Depot Chest") > 0 and takefood

do

moveitems("Brown Mushroom", "Depot Chest", mainBp, 50)

wait(1100,1200)

end



while itemcount("Dwarven Ring", mainBp) < 2 and itemcount("Dwarven Ring", "Depot Chest") > 0 and getcontainer(mainBp).usedslots < 20

do

moveitems("Dwarven Ring", "Depot Chest", mainBp, 50)

wait(1100,1200)

end







while (windowcount(mainDpBp) <1)



do



openitem(mainDpBp, "Depot Chest")



wait(500,600)





end