About this snippet
Overview
This was a snippet that was requested. It will ban/kick if the user has more than 2 nicks in the room with the same gate. Note depending on your connection you may wish to add a queue system to the kick part so you do not get disconnected for excess flood
on !*:JOIN:#:{
if ($ialchan($address($nick,1),$chan,0) >= 3) && ($me isop $chan) {
if (!%cban) { access $chan ADD DENY $address($nick,1) 60 : Too many clones | set %cban on }
var %c 1
while ($ialchan($address($nick,1),$chan,%c)) {
kick $chan $gettok($v1,1,33) Too Many Clones
inc %c
}
unset %cban
}
}
