Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ButtonConstants.au3>
- #include <EditConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <WindowsConstants.au3>
- Opt("GUIOnEventMode", 1)
- #Region ### START Koda GUI section ### Form=
- $Form1 = GUICreate("Spam-Bot", 175, 68, 192, 124)
- $Input1 = GUICtrlCreateInput("Fraza", 8, 8, 153, 21)
- $Button1 = GUICtrlCreateButton("Spam", 8, 32, 155, 25)
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- GUISetOnEvent(-3,"quit")
- GUICtrlSetOnEvent($Button1,"spam")
- While 1
- Sleep(100)
- WEnd
- Func spam()
- $fraza = GUICtrlRead($Input1)
- While 1
- Send($fraza)
- Send("{ENTER}")
- WEnd
- EndFunc
- Func quit()
- Exit
- EndFunc
Add Comment
Please, Sign In to add comment