Good morning, had a great night of sleep. Glad to see V1.2 is working well for some of you!
Do you have a windows aero layout? If not, try changing it to that, im not sure but i think the bar at the top of the window (Which it clicks to activate another wnidow) migth be smaller with other windows layout.
Increase sleep timers. You're timers are not spot on, meaning you'll eventually get stuck in the menu (lowlvl doesn't join game), script continues (Because it does not think, just sends mouseclicks) and thinks he talked to adria so he sends "Escape"" + "leave game" to the computer. prompting you to close the game.
Your first post in this thread was 1 hour before posting this. I have easily put ten, maybe even twenty times more time in this project then you have trying to make it work for everybody. Reading "Nothing works" is kind of depressing.
If all else fails you can troubleshoot with this bruteforce option:
1. Add sleep, 3000 after EVERY line.
2. Sit behind your pc and watch what the script does with this.
3. Note down the step where the script closes/minimizes the window
If you do this you are sure to find the step where things go awry. Unless your problems is timers (Which i do suspect), which will mean this has fixed your problem. If it did fix your problem, delete a few lines. Still fixed? Delete a few more. This way you can rule out which timer was set to low at the start and just increase that.
Could do with some more info, try above solution.