zappiezap Posted July 13, 2005 Posted July 13, 2005 Hi, i am in a time crounch and i cant spen the next 4 hours trying to figure this out, so i was hoping someone could help me. Heres what i need, i need to have 2 hotkeys 1 to stop the script, and the other one i want it to send: {ENTER} PlAyEr KilLeD{!}{!}{!}{ENTER} Thanks. -Zap
LxP Posted July 13, 2005 Posted July 13, 2005 Hi, i am in a time crounch and i cant spen the next 4 hours trying to figure this out, so i was hoping someone could help me. Heres what i need, i need to have 2 hotkeys 1 to stop the script, and the other one i want it to send: {ENTER} PlAyEr KilLeD{!}{!}{!}{ENTER}Put your Send() command into a function (look up Func...EndFunc in the help file index), create a function that quits the script and then attach hotkeys to them via HotKeySet().After you set the hot keys in your code, create a loop that does absolutely nothing (which prevents the script from finishing so that it can act upon the hotkeys):while (1) sleep(1000) wEndI promise it won't take you four hours to do this, even if you type with your feet!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now