adc Posted June 15, 2014 Posted June 15, 2014 Simple question; How can I (if possible) override or otherwise cancel the login random even handler? I'd like to make my script both log out and stop the script, but as it stands the login handler kicks in before stop() is ever called, giving me a recursive loop of logging in and out.
adc Posted June 15, 2014 Author Posted June 15, 2014 (edited) I think it shouldn't do that. Post the code logoutTab.logOut(); this.stop(); It successfully logs out and then immediately activates the randomEvenHandler for login... Also, I've solved my own problem public void onExit() throws InterruptedException { logoutTab.logOut(); } and have realized I'm an idiot Edited June 15, 2014 by adc
thepecher Posted June 15, 2014 Posted June 15, 2014 Also, I've solved my own problem and have realized I'm an idiot The 2 best lines to improve 1