Because his code is deleting any char that is not 0-9a-z or space or control code and then count the lenght, your is doing the contrary :p

A version with [:punct:] will be :
Code:
on @*:TEXT:*:#: {
if ($regex($1-,/[:punct:]/gSi) > 50) { kick # $nick used %punct punctuation marks to flood }
}

Last edited by Wims; 05/07/09 01:01 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel