Fehler im Code :|

05/14/2011 13:21 |-Sh4d0wK1ll91-|#1
Wollte nen Spambot machen aber Irgendwo ist ein Fehler drin, habe aber keine Ahnung wo :|

PHP Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Spammer"353110355183)
$Input1 GUICtrlCreateInput("Text 1 (Rufchat)"8812121)
$Input2 GUICtrlCreateInput("Text 2 (langsam)"84012121)
$Input3 GUICtrlCreateInput("Text 3 (schnell)"87212121)
$Pause GUICtrlCreateButton("Pause"2561675250)
$Stop GUICtrlCreateButton("Stop"2565675250)
$Button1 GUICtrlCreateButton("Spam Text 1"140575250)
$Button2 GUICtrlCreateButton("Spam Text 2"1403875250)
$Button3 GUICtrlCreateButton("Spam Text 3"1407175250)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg 
GUIGetMsg()
Switch 
$nMsg
Case $GUI_EVENT_CLOSE
Exit
Case 
$Button1
    spam1
()
Case 
$Button2
    spam2
()
Case
    
$Button3
    spam3
()
Case
    
$Pause
    pause
()
Case
    
$Stop
    ex
()
EndSwitch
WEnd

Func spam1
()
    While 
1
    Send
(GUICtrlRead($Input1))
    
Send("{Enter}")
    
Sleep(15000)
    
WEnd
EndFunc

Func spam2
()
    While 
2
        Send
(GUICtrlRead($Input2))
        
Send("{Enter}")
        
Sleep(500)
    
WEnd
EndFunc

Func spam3
()
    While 
3
        Send
(GUICtrlRead($Input3))
        
Send"{Enter}")
        
Sleep(100)
    
WEnd
EndFunc

Func pause
()
    while 
4
        sleep 
(100)
    
WEnd
EndFunc

Func ex
()
    Exit
EndFunc

While 5
    sleep
(100)
WEnd 
05/14/2011 14:54 Whoknowsit#2
Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Spammer", 353, 110, 355, 183)
$Input1 = GUICtrlCreateInput("Text 1 (Rufchat)", 8, 8, 121, 21)
$Input2 = GUICtrlCreateInput("Text 2 (langsam)", 8, 40, 121, 21)
$Input3 = GUICtrlCreateInput("Text 3 (schnell)", 8, 72, 121, 21)
$Pause = GUICtrlCreateButton("Pause", 256, 16, 75, 25, 0)
$Stop = GUICtrlCreateButton("Stop", 256, 56, 75, 25, 0)
$Button1 = GUICtrlCreateButton("Spam Text 1", 140, 5, 75, 25, 0)
$Button2 = GUICtrlCreateButton("Spam Text 2", 140, 38, 75, 25, 0)
$Button3 = GUICtrlCreateButton("Spam Text 3", 140, 71, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
    spam1()
Case $Button2
    spam2()
Case $Button3
    spam3()
Case $Pause
    pause()
Case $Stop
    ex()
EndSwitch
WEnd

Func spam1()
    While 1
    Send(GUICtrlRead($Input1))
    Send("{Enter}")
    Sleep(15000)
    WEnd
EndFunc

Func spam2()
    While 2
        Send(GUICtrlRead($Input2))
        Send("{Enter}")
        Sleep(500)
    WEnd
EndFunc

Func spam3()
    While 3
        Send(GUICtrlRead($Input3))
        Send("{Enter}")
        Sleep(100)
    WEnd
EndFunc

Func pause()
    while 4
        sleep (100)
    WEnd
EndFunc

Func ex()
    Exit
EndFunc

While 5
    sleep(100)
WEnd