abouhanafy87 Posted June 16, 2022 Share Posted June 16, 2022 hi i want to make a break function like os break but i want to run it in my condition . this is my try !! public void freez(int a) throws InterruptedException { log("sleeping for " + (Timer.formatTime(a))); log("we will back at :"+ java.lang.String.format("%1$TH:%1$TM:%1$TS", System.currentTimeMillis()+a)); getBot().getEventExecutor().stop(); sleep(a); getBot().getEventExecutor().start(); } but after break auto login didn't run any help !! Quote Link to comment Share on other sites More sharing options...
Gunman Posted June 16, 2022 Share Posted June 16, 2022 Moved to appropriate section. 1 hour ago, abouhanafy87 said: https://osbot.org/forum/topic/144374-snippet-custom-break-manager/ 1 Quote Link to comment Share on other sites More sharing options...