Hello guys,
My char doesnt leave the cave when the cap reaches 0, even with the script. Actually, it looks like the bot needs to pass trough the "leave the cave" point many times before really leaves the cave.
This is the script:
if $cap < tonumber(getuseroption("CapToLeave")) then
setsetting('Targeting/Enabled', 'no')
gotolabel('refill', 'back')
wait(20000)
end