Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;SCRIPT WRITTEN BY DEBESTENDER (ENTERBOX)
- #NoEnv
- SetWorkingDir %A_ScriptDir%
- #SingleInstance, Force
- spamStop := 0
- Gui, Show, w400 h285, enterSpammer
- Gui, Add, Text, x15 y20, Message 1:
- Gui, Add, Edit, x75 y19 w200 h18 vmessage1 limit200
- Gui, Add, Text, x15 y45, Message 2:
- Gui, Add, Edit, x75 y44 w200 h18 vmessage2 limit200
- Gui, Add, Text, x15 y70, Message 3:
- Gui, Add, Edit, x75 y69 w200 h18 vmessage3 limit200
- Gui, Add, Text, x15 y105, Repeats:
- Gui, Add, Edit, x70 y104 w80 h18 vrepeats
- Gui, Add, Checkbox, x165 y106 vinfinityLoop, Infinity loop
- Gui, Add, Text, x15 y130, Time interval:
- Gui, Add, Edit, x82 y129 w50 h18 vinterval limit6
- Gui, Add, Text, x135 y133, ms
- Gui, Add, Text, x15 y155, Time before start:
- Gui, Add, Edit, x100 y154 w50 h18 vbeforeStart limit6
- Gui, Add, Text, x153 y158, ms
- Gui, Add, Checkbox, x15 y190 venterButton, Use ENTER
- Gui, Add, Checkbox, x115 y190 vtabButton, Use TAB
- Gui, Add, Checkbox, x200 y190 vshiftButton, Use SHIFT
- Gui, Add, Checkbox, x300 y190 vctrlButton, Use CTRL
- Gui, Add, Checkbox, x15 y215 vslowTyping, Slowed typing
- Gui, Add, Checkbox, x115 y215 vaot gaot, Always on top
- Gui, Add, Button, x15 y250 w180 h26 gStart, Start
- Gui, Add, Button, x205 y250 w180 h26 gStop, Stop
- return
- start:
- spamStop := 0
- Gui, Submit, NoHide
- sleep, %beforeStart%
- if (infinityLoop==1)
- {
- loop
- {
- if (spamStop==1)
- break
- if (slowTyping==1)
- {
- if (message1 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- Send, %message1% {Enter}
- sleep, %interval%
- }
- if (message2 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- Send, %message2% {Enter}
- sleep, %interval%
- }
- if (message3 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- Send, %message3% {Enter}
- sleep, %interval%
- }
- }
- else
- {
- if (message1 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- SendInput, %message1% {Enter}
- sleep, %interval%
- }
- if (message2 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- SendInput, %message2% {Enter}
- sleep, %interval%
- }
- if (message3 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- SendInput, %message3% {Enter}
- sleep, %interval%
- }
- }
- }
- }
- else
- {
- loop, %repeats%
- {
- if (spamStop==1)
- break
- if (slowTyping==1)
- {
- if (message1 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- Send, %message1% {Enter}
- sleep, %interval%
- }
- if (message2 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- Send, %message2% {Enter}
- sleep, %interval%
- }
- if (message3 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- Send, %message3% {Enter}
- sleep, %interval%
- }
- }
- else
- {
- if (message1 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- SendInput, %message1% {Enter}
- sleep, %interval%
- }
- if (message2 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- SendInput, %message2% {Enter}
- sleep, %interval%
- }
- if (message3 <> "")
- {
- if (enterButton==1)
- {
- Send, {Enter}
- sleep, 5
- }
- if (tabButton==1)
- {
- Send, {Tab}
- sleep, 5
- }
- if (shiftButton==1)
- {
- Send, {Shift}
- sleep, 5
- }
- if (ctrlButton==1)
- {
- Send, {Ctrl}
- sleep, 5
- }
- SendInput, %message3% {Enter}
- sleep, %interval%
- }
- }
- }
- }
- return
- stop:
- spamStop := 1
- return
- saveHotkeys:
- Gui, Submit, NoHide
- if (hotkeyStart==1 && hotkeyStop==1)
- {
- Hotkey, %hotkeyStart%, startx
- Hotkey, %hotkeyStop%, stopx
- }
- return
- startx:
- msgbox, hey! it works
- return
- aot:
- Gui, Submit, NoHide
- if (aot==1)
- {
- Gui, +AlwaysOnTop
- }
- else
- {
- Gui, -AlwaysOnTop
- }
- return
- GuiClose:
- ExitApp
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement