Managed staff .. who needs is below ..
init start
local dust = {5905}
init end
auto(100)
if (maround(7,false) == 0 and $lootbodies == 0) and $wptsection ~= "Spawn" then
local count = {}
for index,id in ipairs(dust) do
count[index] = itemcount(id)
end
setsetting('Cavebot/Enabled', 'no')
stake(7, true, true)
setsetting('Cavebot/Enabled', 'yes')
pausewalking(0)
setsetting('Cavebot/Enabled', 'yes')
wait(300)
for index,id in ipairs(dust) do
local newcount = itemcount(id)
if (newcount > count[index]) then
increaseamountlooted(id, newcount-count[index])
setsetting('Cavebot/Enabled', 'yes')
end
end
end
Also add another persistent to guarantee
They will not have problems ..
below
auto(200)
if $standtime >= 30*1000
then
setsetting('Cavebot/Enabled', 'yes')
end
@Garkstal
You can help me to improve?