;--start of mass join protection
on @*:JOIN:*:{ inc -u5 %mass 1
if (!%nick) {
set -u5 %nick $nick
}
elseif (%nick) && (!%nick1) {
set -u5 %nick1 $nick
}
elseif (%nick1) && (!%nick2) {
set -u5 %nick2 $nick
}
elseif ($address($nick,2) == %banmask) {
raw -q mode +b $address($nick,2)
raw -q kick # $address($nick,2)
}
elseif (%mass >= 2) {
raw -q kick # %nick Mass Join %logo2
raw -q kick # %nick1 Mass Join %logo2
raw -q kick # %nick2 Mass Join %logo2
}
else {
set -u3 %banmask $address($nick,2)
}
}
;-End of mass join protection
No comments:
Post a Comment