Raised This Month: $ Target: $400
 0% 

Question about comparing strings


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 11-17-2011 , 22:51   Question about comparing strings
Reply With Quote #1

So in my server we like to keep things pretty family oriented. Meaning no cursing or offensive names.

So say some one comes into the game with the name "Top Assassin". and i dont want the word ASS to be used in a name. if i compare the string with contain flag it will catch assassin right?

So thats one issue but if i use equal DUMBFUCKBITCH wouldn't be caught no matter what filter.

So is there away to make sure its not part of a larger word (to be honest it needs some one watching it.)
Doc-Holiday is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode