The bad Nickname Kicker requires two events to be effective. One is the on JOIN event to kick when a bad nickjoins the channel, the other is the on NICK event to kick when the person changes to a bad nick.
ON @*:JOIN:#: {
IF (*sex* iswm $nick) {
msg # 3 $nick 12 Your nick is inappropriate. Please change it in One minute by typing 4/nick newnick | timer 1 30 mode # +b $nick $+ !*@ | timer 1 30 /kick # $nick 4 Your nick is inappropriate. Please change it |
}
}
on *:NICK:{
IF (fuck* isin $newnick) {
kick $chan($newnick,1) $newnick Your nick sucks.
}
}