January 21, 20188 yr I've been looking through the API but I can't seem to find anything that would let me check when and how long the bot is set to break for?
January 21, 20188 yr You can look it up on the client itself, There's a special box setting. Just enable and set your breaks on, set time the bot should run from to. and set the amount it time it needs to break for. so let's say botting one hour break for 15 mins. You can also see the bot logger at client
January 21, 20188 yr Author 1 minute ago, botty1 said: You can look it up on the client itself, There's a special box setting. Just enable and set your breaks on, set time the bot should run from to. and set the amount it time it needs to break for. so let's say botting one hour break for 15 mins. You can also see the bot logger at client No I mean within a script, I am looking to detect when the bot is going to break and then do something before it does if you know what I mean
January 21, 20188 yr s.getBot()#getRandomExecutor()#getTimeUntilBreak() If breaking is disabled this will return -1. Edited January 21, 20188 yr by Eagle Scripts
January 21, 20188 yr Author Just now, Eagle Scripts said: s.getBot()#getRandomExecutor()#getTimeUntilBreak() If breaking is disabled this will return -1. Absolute legend mate thanks a bunch
January 21, 20188 yr You can get the minutes until the next break as follows: int minsUntilBreak = getBot().getRandomExecutor().getTimeUntilBreak(); See: https://osbot.org/api/org/osbot/rs07/event/RandomExecutor.html#getTimeUntilBreak-- -Apa
Create an account or sign in to comment