on *:SIGNAL:spam:{
auser spam $3
mode $1 +b $3
kick $1 $2 spam
}
on *:JOIN:#:{
.set %nick $nick
.set %gate $address($nick,1)
if ($level($address($nick,1)) == spam) {
/signal spam $chan $nick $address($nick,1)
}
}
alias banscan {
var %i 1
while (%i <= $nick($chan,0)) {
if ($level($address($nick($chan,%i),1)) == spam) {
/signal spam $chan $nick($chan,%i) $address($nick($chan,%i),1)
}
inc %i
}
}
alias spam {
if ($2- == $null) {
/signal spam $chan %nick %gate
}
else {
var %i 1
while (%i <= $nick($chan,0)) {
if ($2 iswm $nick($chan,%i)) {
/signal spam $chan $nick($chan,%i) $address($nick($chan,%i),1)
}
inc %i
}
}
}
on *:TEXT:*:?:{
if ($1- == pussy) || ($1- == cock) || ($1- == webcam) || ($1- == panties) || ($1- == sex) {
/signal spam $active $nick $address($nick,1)
}
}
heres a few tools i made
/banscan checks if anyone managed to get in who should be on your list,/spam will banlist the last person who joined,/spam le* will banlist a nickname starting with le,/spam *le will banlist a nickname ending with le.