Hay ich habe hier einen einfachen Spambot fürn anfang geschrieben aber der hört einfach nicht auf zu spammen ;)
weis jemand woran das liegt?Quote:
HotKeySet("{F11}", "_Start")
HotKeySet("{F12}", "_1")
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("sYnetic.Gaming", 602, 286, 192, 124)
$Label1 = GUICtrlCreateLabel("Nachricht:", 16, 8, 53, 17)
$Label2 = GUICtrlCreateLabel("Zeile 1:", 56, 24, 39, 17)
$Label3 = GUICtrlCreateLabel("Zeile 2:", 56, 88, 39, 17)
$Label4 = GUICtrlCreateLabel("Zeile 3:", 56, 152, 39, 17)
$Edit1 = GUICtrlCreateEdit("", 104, 24, 473, 57)
GUICtrlSetData(-1, "Nachricht 1")
$Edit2 = GUICtrlCreateEdit("", 104, 88, 473, 57)
GUICtrlSetData(-1, "Nachricht 2")
$Edit3 = GUICtrlCreateEdit("", 104, 152, 473, 57)
GUICtrlSetData(-1, "Nachricht 3")
$Label5 = GUICtrlCreateLabel("Zeit in ms:", 16, 232, 52, 17)
$Input1 = GUICtrlCreateInput("Zein in ms", 104, 232, 89, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func _Start()
While 1
Sleep(10000)
Send("{t}")
Sleep(100)
Send(GUICtrlRead($Edit1))
Sleep(100)
Send("{Enter}")
Sleep(3000)
Send("{t}")
Sleep(100)
Send(GUICtrlRead($Edit2))
Sleep(100)
Send("{Enter}")
Sleep(3000)
Send("{t}")
Sleep(100)
Send(GUICtrlRead($Edit3))
Sleep(100)
Send("{Enter}")
Sleep(GUICtrlRead($Input1))
WEnd
EndFunc
Func _1()
while 1
Exit
WEnd
EndFunc