maniack Posted April 26, 2012 Share Posted April 26, 2012 I'm making an auto skill for an online game i have the current working but the current project basically wont have any delay after each key pressed i'm making a new one and the idea is to press numbers of key after a certain delay, but having problem for the delay each key. some of the code While 1 skill() sleep(100) WEnd Func skill() If GUICtrlRead($Status) = "RUNNING" Then _SendMessage($HANDLE, 256, KEYCODE("F1")) sleep(100) _SendMessage($HANDLE, 256, KEYCODE("F2")) sleep(100) EndIf EndFunc For example i want the key to be pressed each 5 sec, and if i put at the delay, it will totally delay the whole program itself how to let the key to have their own timer/delay without affecting the main program? thanks in advance Link to comment Share on other sites More sharing options...
Valik Posted April 26, 2012 Share Posted April 26, 2012 Thread locked. Read the rules. Link to comment Share on other sites More sharing options...
Recommended Posts