In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Pages: [1]   Go Down
  Print  
Author Topic: Custom censor plugin  (Read 784 times) Bookmark and Share
Full Member
***
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD2
Posts: 55
Offline Offline
WWW
« on: June 03, 2010, 12:42:33 PM »

Hello,

i would like to modify bad word and bad name in my censor plugin, ive see i must respect a code for letter.

Can you help me for correct writing of code for word and name i will change?

i post the word and you say me correct code for this word !?

Thank's for help me!!

Logged


xXReVoltXx
+IP:178.33.42.23:28961

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: June 04, 2010, 12:41:05 AM »

You can just use words if you are not familiar with regular expressions.

Code: xml
		
ass

Logged

Full Member
***
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD2
Posts: 55
Offline Offline
WWW
« Reply #2 on: June 04, 2010, 08:12:55 AM »

I dont understand, an exemple for word asshole, i must respect code like this no ?=>      
      
         <regexp>[a@][s$]{2}h[o0]le</regexp>
Logged


xXReVoltXx
+IP:178.33.42.23:28961
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #3 on: June 04, 2010, 10:33:32 AM »

Only if you want to use regular expressions, my example works for just words.
Logged

Full Member
***
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD2
Posts: 55
Offline Offline
WWW
« Reply #4 on: June 04, 2010, 11:06:31 AM »

Ok thank you.
Logged


xXReVoltXx
+IP:178.33.42.23:28961
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal