10000 {Anti Trap Cavebot} Misc.StandTime()>10 Cavebot.Stop() Cavebot.Start()
There you go.
I wouldn't set it to 10 sec, though, sometimes it takes more then that to withdraw money or buy potions, the macro will keep deactivating and activating your cavebot, making it go to the beggining of the buying process, so it get's stuck in a loop.
Increase the value after Misc.StandTime()> from 10 to whatever you want, to avoid that.
There you go.
I wouldn't set it to 10 sec, though, sometimes it takes more then that to withdraw money or buy potions, the macro will keep deactivating and activating your cavebot, making it go to the beggining of the buying process, so it get's stuck in a loop.
Increase the value after Misc.StandTime()> from 10 to whatever you want, to avoid that.