Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

How do I make this AHK script auto exit my game client?

I'm using an autoclicker to train my stats in a game called Runescape, and when my character dies I would like for the script to exit the client. I know this is possible because I remember seeing someone with a script that did that, but I have no clue how to make it work

This is the script I'm using:
Code
   #SingleInstance Force

RandomSleep(min, max) {

   Random, rand, min, max

   Sleep rand

}


Delete::
Loop
{
RandomSleep(25000, 49673)
Click
Sleep, 10
RandomSleep(93, 1666)
Click
}
return

End::Pause,Toggle


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Lua] by Toph BeifongMay 7, 2025 07:19 PM 13 661 May 7, 2025 07:19 PM
Last Post: Phantom_NiNja
[Lua] by somenormalguySep 26, 2019 06:25 AM 0 205 Sep 26, 2019 06:25 AM
Last Post: somenormalguy
[Help] by 335iJun 25, 2019 11:22 AM 1 130 Jun 25, 2019 11:22 AM
Last Post: HFDone