Hey ich bin grad einen Spambot am Schreiben. Hier der bisherige Code
Nur will er keine Nachrichten schreiben?! Wo liegt denn bitte der Fehler
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
HotKeySet("{F8}", "_end")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Spambot by plachta1234 v.0.0.1.4487", 354, 211, 193, 125)
$Button1 = GUICtrlCreateButton("Start!!!", 0, 0, 353, 129, 0)
GUICtrlSetFont(-1, 40, 400, 0, "MS Sans Serif")
$Input1 = GUICtrlCreateInput("Fenstername", 0, 152, 145, 21)
$Input2 = GUICtrlCreateInput("Spamnachricht", 0, 184, 145, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_start()
EndSwitch
WEnd
Func _start()
While 1
ControlSend ($Input1,"","",$Input2)
Sleep (100)
ControlSend ($Input1,"","","{Enter}")
Sleep (100)
WEnd
EndFunc ;==>_start
Func _end()
Exit
EndFunc