lua code:
registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
function onWalkerSelectLabel(labelName)
if(labelName == "UsePick") then
wait(200,1000)
Self.UseItemWithGround(PickID, x,y,z)
wait(200,1000)
if Self.ItemCount(CratesID) >= 3 then
gotoLabel("GoStairs")
else
gotoLabel("BeforePick")
end
elseif(labelName == "DropCrate") then
wait(200,1000)
Self.DropItem(x, y, z, CrateID)
wait(200,1000)
elseif(labelName == "UseShovel") then
wait(200,1000)
Self.UseItemWithGround(ShovelID, x,y,z)
end
end
How to do the cavebot?
--
BeforePick
Stand
UsePick
--
Way to stand ~
--
Stand (Next to x,y,z to drop crates)
DropCrate
Stand (Next to stair)
UseShovel
--
There is no checkers if u drop the crate but I think its not needed.
/Oscagi