Nick Flood Kicker

By `Node_ on Mar 09, 2004

A simple remote to kick and ban users who change their nicknames 3 times within 30 seconds, for 10 seconds.

on *:NICK:{
if (% [ $+ [ $wildsite ] $+ ] .nflood == $null) { set -u30 % [ $+ [ $wildsite ] $+ ] .nflood 0 }
inc % [ $+ [ $wildsite ] $+ ] .nflood 1
if (% [ $+ [ $wildsite ] $+ ] .nflood >= 3) { kick # $nick Nick flood detected. Banned for 30 seconds. | ban -u30 # $address($nick,1) | echo 2 Nick flood triggered by $nick in # }
}

Comments

Sign in to comment.
AnDyWong   -  Dec 04, 2008

to kick the user use::
$comchan to get the chan
Returns the names of channels which both you and nick are on.

 Respond  
sailoreagle   -  Mar 18, 2004

This is not going to work... for one, nick changes are a server-wide event so they don\'t generate a #channel attached to them... you\'d either have to hardcode a channel into the kickban command, or loop through $comchan. Two... $nick is the OLD nick, you can\'t kick it out, it\'ll give \"no such user\", you need to kickban $newnick.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.