Hi ich habe ein Problem mit meinem Spammbot
Und zwar weiß ich nicht wie ich es machen soll, wenn man $Radio12, 13 usw. anklickt. Wenn ich
mache spammt der das 3 mal egal was ich anklcike. Was muss icht tun?
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=d:\neuer ordner\koda_1.7.3.0\forms\spammer.kxf
$Form1_1 = GUICreate("Spammer", 212, 292, 191, 121)
$Label1 = GUICtrlCreateLabel("Text to Spam:", 8, 8, 86, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Input1 = GUICtrlCreateInput("Here the Text", 8, 32, 193, 21)
$Label2 = GUICtrlCreateLabel("How often to Spam:", 8, 64, 119, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Checkbox8 = GUICtrlCreateCheckbox("Checkbox8", 24, 136, 1, 9)
$Button1 = GUICtrlCreateButton("Activate", 56, 216, 97, 25)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label3 = GUICtrlCreateLabel("Press F1 to start spamming", 8, 248, 130, 17)
$Label4 = GUICtrlCreateLabel("Press F3 to show the Menü", 8, 264, 133, 17)
$Label5 = GUICtrlCreateLabel("Wait between the last spam:", 8, 168, 170, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Radio10 = GUICtrlCreateRadio("1x", 8, 88, 41, 25)
$Radio11 = GUICtrlCreateRadio("2x", 48, 88, 41, 25)
$Radio12 = GUICtrlCreateRadio("3x", 80, 88, 49, 25)
$Radio13 = GUICtrlCreateRadio("5x", 8, 112, 33, 25)
$Radio14 = GUICtrlCreateRadio("10x", 48, 112, 41, 25)
$Radio15 = GUICtrlCreateRadio("15x", 88, 112, 49, 25)
$Radio16 = GUICtrlCreateRadio("20x", 8, 136, 33, 25)
$Radio17 = GUICtrlCreateRadio("25x", 48, 136, 33, 25)
$Radio18 = GUICtrlCreateRadio("30x", 88, 136, 41, 25)
$Input2 = GUICtrlCreateInput("1000", 8, 192, 41, 21)
$Label6 = GUICtrlCreateLabel("Milliseconds", 56, 192, 79, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
HotKeySet("{F1}", "_Start")
HotKeySet("{F3}", "_Menue")
$Radio10=1
$Radio11=2
$Radio12=3
$Radio13=5
$Radio14=10
$Radio15=15
$Radio16=20
$Radio17=25
$Radio18=30
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $Button1
GUISetState(@sw_hide)
_tooltip()
iniWrite(@DesktopCommonDir&"\Spammer.ini", "", "Spam", GUICtrlRead($Input1))
iniWrite(@DesktopCommonDir&"\Spammer.ini", "", "Time", GUICtrlRead($Input2))
EndSwitch
WEnd
func _tooltip()
ToolTip("Press F1 to Start spamming" & @CRLF & _
"Press F3 to show the Menü", 1, 1, "Help", 1)
EndFunc
Func _Start()
For $i=1 to $Radio11
send(Iniread(@DesktopCommonDir&"\Spammer.ini", "", "Spam", GUICtrlRead($Input1, $Radio11)))
send("{enter}")
sleep(Iniread(@DesktopCommonDir&"\Spammer.ini", "", "Time", GUICtrlRead($Input2)))
next
EndFunc
func _Menue()
GUISetState(@sw_show, "Spammer")
endfunc
PHP Code:
Func _Start()
For $i=1 to $Radio11
send(Iniread(@DesktopCommonDir&"\Spammer.ini", "", "Spam", GUICtrlRead($Input1, $Radio11)))
send("{enter}")
sleep(Iniread(@DesktopCommonDir&"\Spammer.ini", "", "Time", GUICtrlRead($Input2)))
next
For $i=1 to $Radio10
send(Iniread(@DesktopCommonDir&"\Spammer.ini", "", "Spam", GUICtrlRead($Input1, $Radio10)))
send("{enter}")
sleep(Iniread(@DesktopCommonDir&"\Spammer.ini", "", "Time", GUICtrlRead($Input2)))
next