Kann mir jemand verrraten wie ich es hin bekomm das dieses script den attack key spämmt für drink und eat das spämmen pausiert und Danach weiter attack key spämmt ? Danke
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
HotKeySet("{F9}","_Start")
Global $title = 'xxxxxxxx', $Run
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Steinklopfer", 348, 178)
$Group1 = GUICtrlCreateGroup("", 8, 16, 329, 137)
$Label1 = GUICtrlCreateLabel("Attack Key :", 24, 40, 62, 17)
$Label2 = GUICtrlCreateLabel("Drink Key :", 24, 80, 63, 17)
$Label5 = GUICtrlCreateLabel("Eat Key :", 24, 120, 63, 17)
$Input1 = GUICtrlCreateInput("3", 88, 40, 25, 21)
$Input2 = GUICtrlCreateInput("4", 88, 80, 25, 21)
$Input5 = GUICtrlCreateInput("5", 88, 120, 25, 21)
$Label3 = GUICtrlCreateLabel("Wait attack :", 136, 40, 65, 17)
$Label4 = GUICtrlCreateLabel("Wait Drink :", 136, 80, 67, 17)
$Label4 = GUICtrlCreateLabel("Wait Eat :", 136, 120, 67, 17)
$Input3 = GUICtrlCreateInput("500", 200, 40, 33, 21)
$Input4 = GUICtrlCreateInput("10000", 200, 80, 33, 21)
$Input8 = GUICtrlCreateInput("10000", 200, 120, 33, 21)
$Label5 = GUICtrlCreateLabel("( 1000 = 1 sec )", 248, 40, 78, 17)
$Label6 = GUICtrlCreateLabel("( 1000 = 1 sec )", 248, 80, 78, 17)
$Label7 = GUICtrlCreateLabel("( 1000 = 1 sec )", 248, 120, 78, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func _Start()
$Run = Not $Run
While $Run
ControlSend($title,'','',GUICtrlRead($Input1))
Sleep(GUICtrlRead($Input3))
ControlSend($title,'','',GUICtrlRead($Input2))
Sleep(GUICtrlRead($Input4))
ControlSend($title,'','',GUICtrlRead($Input5))
Sleep(GUICtrlRead($Input8))
WEnd
EndFunc