Hi,
Thank you for your response. The following is code from a first-time scripter, perhaps you can please tell me why it's so erratic in-game (sometimes working, sometimes not, sometimes changing the order of the Send commands given:
Code:
#include <Misc.au3>
Func _Tf()
If _IsPressed("31") = 1 Then
Sleep(500)
Send("w")
Sleep(400)
Send("e")
Sleep(400)
Send("q")
Sleep(400)
Send("r")
EndIf
EndFunc
while 1
_Tf()
Sleep(10)
WEnd
I put larger sleep values than desired for testing purposes - I just wanted to see if the sequence was functioning correctly.
Please look over this small bit of syntax, I would appreciate any advice you could give to help the stability of the script.
Thanks,