Question[HELP]Toggle Script

Posts 1–3 of 3 · Page 1 of 1
[HELP]Multiple Keypress Script
I am using Transcends iphlpapi. Is it possible to detect a keypress to activate a script and have another keypress in addition to the first activate a different script e.g.

[Keys]
; VK_ADD = 0x6B
; VK_SHIFT = 0x10


1 = 0x6B
2 = (0x6B and 0x10)

[Scripts]
1 = Script1.lua
2 = Script2.lua
Any help whatsoever would be tremendously appreciated! Thanks
Not to my knowledge, if you want to combine scripts you'll have to put them in one file. If you want a toggle feature you may have to get the .dll source code for the lua injection and write it yourself. It's easier to add multiple scripts to one file and execute it from there.
Quote Originally Posted by ojsimpson View Post
Not to my knowledge, if you want to combine scripts you'll have to put them in one file. If you want a toggle feature you may have to get the .dll source code for the lua injection and write it yourself. It's easier to add multiple scripts to one file and execute it from there.
Can you give me an example of putting them in one file? Also is there a way to detect a keypress from the user in a script?
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?