Sign in to follow this  
Followers 0
Casti

What script to hotkey a end script cmd?

2 posts in this topic

I need a scritp where i push esc and it exits the script.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I get help by so many people, now I can finally help someone else

HotKeySet("{ESC}", "Terminate")

;code here........

Func Terminate()
    Exit
EndFunc

Put whatever your code is in between there... And just press Esc whenever you want and it will shut off

*I hope this works lol*

Edited by BuddyBoy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0