Jump to content

Override/cancel login handler


Recommended Posts

Posted

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.

Posted (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 by adc
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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