error in Action script wptid:3:
[" while windowcount() ~= 4 then"]:Action: :9: 'do' expected near 'then'
using this code:
shouldUseDwarvenRing = true
usedoor($wptx, $wpty+1, $wptz)
-- Open backpack
local lootBp = getlootingdestination('rare')
local mainBp = getlootingdestination('main')
local supBP = getlootingdestination('supplies')
local goldBP = getlootingdestination('gold')
while windowcount() ~= 4 then
closewindows()
open(0, 'back')
resizewindows()
wait(700,1000)
openitem(goldBP, mainBp, 'opennew')
resizewindows()
wait(700,1000)
openitem(supBP, mainBp, 'opennew')
resizewindows()
wait(700,1000)
openitem(lootBp, mainBp, 'opennew')
resizewindows()
wait(700,1000)
end
Hey, could you help me create a house depositor? I'm using Bug's Goroma SS and the backpacks in depot get filled very quickly.
They way I used to do it on the other bot is I'd create 1 persistent that gets switched on in the house that makes sure that the char stands on the specific SQM before he starts throwing the loot.
Then in the cavebot there would be the action that has all the items and the coordinates of the house tiles of where to throw the loot. I tried converting the one I had from ibot, but it didn't seem to work.
Would be great if you could explain how to make one. Thanks