Snippets Project Page
Author: entropy
Added: 5y
Updated: 5y
mIRC: 7.52+
Hits: 1,210
Downloads: 21
Review: entropy
Size: 436B
1 0
Login to vote.
Spam Kick Ban
v1.0.4
This snippet kicks and bans nicknames that spam in the channel specified.
Download
JSON
▲ Review
▼ Source
; Spam Kick Ban v1.0.4 - by entropy 2018 ; Put in remotes (alt+r) and change #test ; Bad sites list in %bad = *blah* *blah2* on @*:text:*:#test:{ if ($nick isreg #) { return } var %a = 1, %bad = *example.com* *example2.com*, %c, %secs = 30 while ($gettok(%bad,%a,32)) { %c = $v1 if ($wildtok($1-,%c,1,32)) { ban -ku $+ %secs # $nick 3 Banned for spamming | break } inc %a } }
Changelog:
0
0