Resolved Ending bot?

Discussion in 'Developer Support' started by Serene, May 12, 2016.

  1. This is probably a very simple question, but how do I end a bot in my code? Right now I'm using runescape.logout() but the loginhandler logs it back in, and I'm in a loop of logging in and out.

    Also, is this the best place to post questions regarding writing bots? I've probably posted 3 within the past day, and don't want to flood this section (I do my best to search the forums before posting - got me through a bunch so far)?
  2. It's literally just stop(), though I'd recommend using pause() instead so that you can add a function to restart your script bot. You might need
    Check the documentation under script bot.framework
  3. As @wolfskull said, it's just the stop() method in the AbstractScript class.

Share This Page