yfoo Posted June 13, 2018 Share Posted June 13, 2018 If breaks are enabled how does the client notify my script that a break is imminent? Quote Link to comment Share on other sites More sharing options...
Fruity Posted June 13, 2018 Share Posted June 13, 2018 you can get minutes until break using: public int getTimeTillBreak() { RandomExecutor randomExecutor = getBot().getRandomExecutor(); return randomExecutor != null ? randomExecutor.getTimeUntilBreak() : -1; } 3 Quote Link to comment Share on other sites More sharing options...
yfoo Posted June 15, 2018 Author Share Posted June 15, 2018 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. Quote Link to comment Share on other sites More sharing options...