Help with this loop please
Help with this loop please
I need help making a script that does this. I want to be able to hold Number pad 1 and For this to start a loop with “W”. I need there to be a random delay between the “W” key presses and also a random delay between the pressed down “W” and presses up “W”.
Re: Help with this loop please
Hallo,
try:
try:
Code: Select all
NumPad1::
While GetKeyState("NumPad1","P")
{
Send, {w Down}
Random, PressTime, 100, 500 ;ms Min,Max
Sleep, PressTime
Send, {w Up}
Random, SleepTime, 200, 700
Sleep, SleepTime
}
Return
Who is online
Users browsing this forum: No registered users and 56 guests