Hey ich wollte, dass nachdem die Checkbox "Drop" aktiviert wurde, dass dann "x" gedrückt wird, aber iwie funktioniert das nicht. Ich hoffe jmd. weiß, was ich falsch gemacht hab =)
Hier der Code:
Danke schonmal =)
Hier der Code:
Code:
#include <GUIConstantsEx.au3>
global $countindf = 0, $count = 0
$Gui = GUICreate("NosBot", 250, 250, 500, 250)
$drop = GUICtrlCreateCheckbox("Drop", 10, 50, 120, 20)
$sa = GUICtrlCreateCheckbox("Direkt an Nostale senden", 10, 75, 150, 20)
$label = GUICtrlCreateLabel("NosBot",90, 10, 70, 35)
GUICTRLSETFONT(-1,15,800,5)
GUISetState()
While 1
$droprd = GUICtrlRead($drop)
$sard = GUICtrlRead($sa)
$msg = GUIGetMsg()
Select
Case $msg = -3
ExitLoop
EndSelect
$count += 4
$countindf += 4
If $countindf = 300 and $sard = 1 and $droprd = 1 Then
$countindf = 0
ControlSend("NosTale", "", "", "{x}")
EndIf
If $count = 300 and $sard = 4 and $droprd = 1 Then
$count = 0
Send("{x}")
EndIf
WEnd