Thread: AntiCurse
View Single Post
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 01-16-2008 , 12:04   Re: AntiCurse
Reply With Quote #5

It's also (sorry) appallingly written.

You get the client's name before you even know if they're swearing ... I mean, come on - how is that not wasteful?

But most importantly you are actually reading the whole file every time someone says anything, rather than using an array of curse words.

Oh, and a "flag" is 1 or 0, true or false - not 0,1,2 or 3 :-P

The other thing might well have been intentional, I don't know ... but you could be kicked just for one "say" containing >3 curse words :-O
purple_pixie is offline