Need a little help please
Posted: 13 Jul 2018, 19:42
Trying to write a script to hold down “w” and “LShift” while also repeatedly pressing “c” in a game.
Got this so far but it doesn’t work
toggle := 0
0::
toggle := !toggle
if (toggle) {
SetTimer, Timer_Spam, 10
} else {
SetTimer, Timer_Spam, Off
}
return
Timer_Spam:
Send {c}
Sleep 800
Send {w, Down}
Send {LShift, Down}
return
Got this so far but it doesn’t work
toggle := 0
0::
toggle := !toggle
if (toggle) {
SetTimer, Timer_Spam, 10
} else {
SetTimer, Timer_Spam, Off
}
return
Timer_Spam:
Send {c}
Sleep 800
Send {w, Down}
Send {LShift, Down}
return