Im very new with using auto it and so when you suggest something, you might also want to tell me where i should put it in my coding. otherwise i will not know where to put it
Edit:
Also if there is a way, I woukd like to add it to the GUI as an option that coukd be turned on and off. But I dont know if tht could be done. So if it cant thanks anyways.
Code:
#include <GUIConstantsEx.au3>
GUICreate("Jaret's Bot", 335, 200)
GUICtrlCreateLabel("Skill 1", 8, 10)
$key1 = GUICtrlCreateInput("", 40, 8, 50)
GUICtrlCreateLabel("Delay", 8, 44)
$time1 = GUICtrlCreateInput("", 40,40, 50)
GUICtrlCreateLabel("Skill 2", 8, 74)
$key2 = GUICtrlCreateInput("", 40,72, 50)
GUICtrlCreateLabel("Delay", 8, 104)
$time2 = GUICtrlCreateInput("", 40,104, 50)
$startbutton = GUICtrlCreateButton("Start", 190, 8, 60)
GUISetState(@SW_SHOW)
HotKeySet("{END}", "close")
While 1
$msg = GUIGetMsg()
Select
Case $msg = $startbutton
$send1 = GUICtrlRead($key1)
$sleep1 = GUICtrlRead($time1)
$send2 = GUICtrlRead($key2)
$sleep2 = GUICtrlRead($time2)
While 1
Send($send1)
Sleep($sleep1)
Send($send2)
Sleep($sleep2)
WEnd
Case $msg = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop
Exit
EndSelect
WEnd
Func close()
Exit
EndFunc






