-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathDiscord-Spam-Script.ahk
29 lines (26 loc) · 1.01 KB
/
Discord-Spam-Script.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
; Language: English
; Author: Qwerty-Space
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance Force ; Makes sure the script only runs one at a time.
#MaxThreadsPerHotkey 3
*f3::
#MaxThreadsPerHotkey 1
If SpamLoop {
SpamLoop := False
return
}
SpamLoop := True
Loop { ; Add a number after "Loop" if you want it to loop a specific number of times
Loop 9 { ; The amount of messages it sends before waiting (default = 9)
SendInput :smiley: ; Change ":smiley:" to whatever you want
SendInput {Enter}
Sleep, 800
if not SpamLoop
break
}
Sleep, 5000 ; How long in milliseconds it will wait before it starts sending messages again
if not SpamLoop
break
}