Yes, I know it doesn't. I was trying this nested at the top of my on *:NICK: and using another instance of mirc with a non-opered version of myself in testchannel, trying nick changes to the badwords listed.
It also will not work when tried in the on *:join: as one of the badnickwords either. No luck at all, but thanks though.

if ($chan == #mytestchannel) {
var %i = 1, %t = $lines(G:\filepath\bannednickwords.txt)
while (%i <= %t) {
if ($read(G:\filepath\bannednickwords.txt,nt,%i) isin $newnick) {
ban -ku3 # 2 $newnick Not Allowed!
kick # $nick testing
return
}
inc %i
}
}

Last edited by displayname; 21/09/12 02:24 AM.