HotKeySet('{F1}', '_start')
this is start/pause button
when you run script its paused you must press F1 to start and F2 to pause
F1 start <> pause
i dont know how it dont works, but for what is it that script to fire skills or to move ?
try this too i find it in help file
Single keys can also be repeated, e.g.
Send("{DEL 4}") ;Presses the DEL key 4 times
Send("{S 30}") ;Sends 30 'S' characters
so in your case Send("{W 5}") ; sending W 5 times
here you go try copy paste, compile x64, and right click -> run as admin
i tried now in notepad it sends keys no problem ;)
Code:
#RequireAdmin
HotKeySet('{F1}', '_start')
HotKeySet('{F3}', '_quit')
Global $run
While 1
Sleep(100)
WEnd
; start / pause script
Func _start()
$run = Not $run
While True
If $run Then
Send("{q 4}")
Sleep(200)
Send("{w 4}")
Sleep(200)
Send("{e 3}")
Sleep(200)
EndIf
WEnd
EndFunc
; exits script
Func _quit()
Exit
EndFunc