Hey there, I have been trying to do a remote script where if someone stupidly changes nick to one that is forbidden to use in channel (like a profanity nick), and the script for some reason is not working. This is what I have where user level 6 contains all forbidden nicks.
on *:NICK:{
if ($ulevel($address($newnick,5)) == 6) { kick $newnick Attempting to use a profanity nick is forbidden in this channel }
else { halt }
}