Jump to content

Break function


Recommended Posts

Posted

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 !!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...