Thread
:
AntiCurse
View Single Post
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
01-16-2008 , 12:04 Re: AntiCurse
#
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
View Public Profile
Send a private message to purple_pixie
Find More Posts by purple_pixie