fozzeptic Posted August 15, 2016 Share Posted August 15, 2016 Hello, I have been trying to make a code for a game which will help me to control the character by keyboard keys. My code is pretty simple as follows; vkeydown(65); wait(1000); vkeyup(65); When i had tried it in the game nothing happened. Then tried to click at the message board which you can activate texting cursor, and run the script again and i saw that only one character of "A" was typed. Therefore, the key hasnt been pressed. I supposed that maybe the game was igonering the key inputs and tried the same thing with notepad. But the same thing happened again. I got only one "A" as output. How to solve this problem? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Wanted Posted August 22, 2016 Share Posted August 22, 2016 Yea as far as I know there are no functions implemented that will allow you to hold a key down to get the repeated key effect. You may consider just adding an arbitrary and random amount of repeats, wait loop, or something. Quote Link to comment Share on other sites More sharing options...