Originally Posted by
Roxarok
Is there a way to bind a key to stop the script upon pressing it? Sometimes I need to stop my bot while its running but so far it's been "wait til it stops doing inputs and close it from task manager as fast as I can"
I put
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
In my script, but pressing either of those does nothing to the script and it keeps running. Tried a few google searches which resulted in those, I feel like there's something I'm missing here, any help?