I've made a script and I'm having a problem with its waypoints. Making a resume, the waypoints are divided in:
Open_Backpacks (bot closes everything and open all used backpacks) - okey with this
Hunt (the character makes a turn in the whole respawn) - i think it's okey also
Then, the bot would make a check here, and this is how i've made the action:
if countitem("mana potion", "health potion) < 3 or cap < 20 then
If the pots or caps was too low, the char would go for a place where it would be afk until it logs out (i made a wait time higher than 15 minutes, cause im a rookie on ibot, and don't know how to make it disconnect), but for some reason, the ibot doesnt respect this rules, and go to the label AFK, that i've made just after the checking waypoint, then it goes to the place where it should be afk, and start the waypoints all over again, closing and opening backpacks and going to hunt... how should i solve it?