FushigiBot Posted October 22, 2022 Share Posted October 22, 2022 Background Currently, Sleep until supports one method on top of the time. Eg. Sleep for 5000 or until it reaches area A This sleep will break when either 5000ms have passed or when the bot is in area A. Why is this useful? One can set multiple conditions for the sleep to break where needed. It also helps with efficiency for when the API miss-clicks and the action fails, or when you want to cancel an ongoing action based on another condition. How can it be used? Abyss Runecrafting - One can set a sleep when interacting with the obstacles that breaks when one of these conditions have been met: 1. Time has passed 2. The bot reaches the area upstairs 2. The hp drops below 20 points. Combat - One can set a sleep when attacking the npc that breaks when 1. The time has passed 2. The bot is in combat 3. The onMessage "Another player is fighting that" shows. 1 Quote Link to comment Share on other sites More sharing options...