June 13, 20187 yr If breaks are enabled how does the client notify my script that a break is imminent?
June 13, 20187 yr you can get minutes until break using: public int getTimeTillBreak() { RandomExecutor randomExecutor = getBot().getRandomExecutor(); return randomExecutor != null ? randomExecutor.getTimeUntilBreak() : -1; }
June 15, 20187 yr Author On 6/13/2018 at 8:55 AM, Fruity said: you can get minutes until break using: public int getTimeTillBreak() { RandomExecutor randomExecutor = getBot().getRandomExecutor(); return randomExecutor != null ? randomExecutor.getTimeUntilBreak() : -1; } Easy to understand. Thanks.
Create an account or sign in to comment