I'm currently working on a runecrafting script and it works pretty well. However, I don't have the best wifi and I disconnect once every hour or two. When I disconnect the bot tries to log back in, but when it does it gets a message on the login screen and stops running. Is there a way to get the bot to sleep for a couple minutes when it disconnects to allow my wifi to re-connect to the internet, then log back in and continue botting?