Hey Liebe Com,
Bin Ein Autoit noob... bin gerade an meinem Spamm-bot zugangen habe 3 inputfelder wo man den text... das send delay und denschließen Hotkey eingeben kann und ein Button Namens "Start" Die While hab ich schon gemacht... aber wie bekomm ich das hin das der auf dem button Das skript startet ...
Code:
Need Help..
Bin Ein Autoit noob... bin gerade an meinem Spamm-bot zugangen habe 3 inputfelder wo man den text... das send delay und denschließen Hotkey eingeben kann und ein Button Namens "Start" Die While hab ich schon gemacht... aber wie bekomm ich das hin das der auf dem button Das skript startet ...
Code:
Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Bot", 625, 443, 198, 130)
GUISetBkColor(0x000000)
$Mee = GUICtrlCreatePic("C:\Users\Hucky\Desktop\other\26-12-09_2039.jpg", 208, 64, 249, 111)
$Text = GUICtrlCreateInput("Spamtext", 0, 16, 161, 21)
GUICtrlSetBkColor(-1, 0xFFFFE1)
$Zeit = GUICtrlCreateInput("SpamDelay", 0, 64, 161, 21)
GUICtrlSetBkColor(-1, 0x3399FF)
$Hotkeys = GUICtrlCreateInput("Hotkeys", 0, 104, 161, 21)
GUICtrlSetBkColor(-1, 0x00FF00)
$Button1 = GUICtrlCreateButton("Start", 48, 160, 81, 57)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$nMsg = GUIGetMsg()
Sleep(5000)
While 1
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Mee
EndSwitch
WEnd
While True
Send($Text)
Sleep($Zeit)
HotKeySet($Hotkeys)
WEnd