documentation
download & extend
community & support
B3 hosting
May 21, 2012, 05:22:37 PM
Home
Features
Get Started
Supported Games
Forums
Help
Search
Tags
Groupware
Login
Register
Activation Mail
It appears you have not registered with our community. To register please click here ...
You are here:
Big Brother Bot Forum
Add-Ons
Configurations
(Moderator:
MordyT
)Censor Question
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Censor Question (Read 810 times)
lolasaurous
Jr. Member
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
Homefront
Posts: 22
Offline
Censor Question
«
on:
June 17, 2011, 02:27:03 AM »
There are some words I would Like to add to the list for our server. I have a question though on the format.
EXAMPLE
<badword name="asshole" lang="en">
<regexp>[a@][s$]{2}h[o0]le</regexp>
The line that I have italicized means what? There seems to be no repeating format to the characters.
Could i get away with just adding the first line to the censor.xml
Thanks
Logged
MordyT
Moderator
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Censor Question
«
Reply #1 on:
June 17, 2011, 04:55:24 AM »
I think... think that it will use those substitute for characters... IE
<regexp>[a@] saying even if the guy does @sshole instead of with a A, recognize it. or [s$] if he does a$$hole..
Just my thoughts, and if I am correct, they should not be needed
Logged
Need B3 Bot hosting? Check out
Host4B3.com
Check
Twitter.com/Host4B3
for updates if the site it down.
Help will be given to those with a b3.log
System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Courgette
Senior Dev.
OS: Linux
Type: Home user
Posts: 3483
Offline
Support Specialty:
B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
Re: Censor Question
«
Reply #2 on:
June 17, 2011, 08:19:11 AM »
the <regexp> tag is for a regular expression.
See what they are
on wikipedia. If you feel uncomfortable using them, I suggest you use the <word> tag instead which is much easier.
Code:
<word>asshole</word>
Also make sure to read
http://wiki.bigbrotherbot.net/usage:censor_plugin
If you want to try out regexp for yourself, I suggest you test your regular expressions with
kodos
Logged
Follow me :
@cucurb
.~. new
Smokin' guns official website
lolasaurous
Jr. Member
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
Homefront
Posts: 22
Offline
Re: Censor Question
«
Reply #3 on:
June 17, 2011, 12:19:50 PM »
Thanks a bunch guy's i'll test this out tonight.
Logged
Tags:
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News (Read Only)
===> News Archive
===> Website News
=> General Discussion
===> Servers
=> Shared Services
-----------------------------
Support Forums
-----------------------------
=> Support Instructions
=> Installation Support
=> General Usage Support
=> Game specific Support
===> Battle Field 3
=====> BF3/B3 beta board
===> Battle Field Bad Company 2
===> Call of Duty series
=====> CoD, CoD:UO, CoD2
=====> Call of Duty 4 (Modern Warfare)
=====> Call of Duty 5 (World at War)
=====> Call of Duty 6 (Modern Warfare 2)
=====> Call of Duty 7 (Black Ops)
=======> AlterOps
===> Frontlines, Fuel of War
===> Enemy Territory
===> Homefront
===> Medal of Honor 2010
===> Open Arena
===> Red Orchestra 2
===> Smokin' Guns
===> Soldier of Fortune 2
===> Urban Terror
===> World of Padman
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Plugins Discussion
===> Plugin Releases!
===> Plugins by xlr8or
===> Plugins by Courgette
===> Plugins by Freelander
===> Plugins by Bakes
===> Plugins by Ismael
===> Plugins by flinkaflenkaflrsk
===> Plugins by Anubis
===> Plugins by Spoon
===> Plugins by PtitBigorneau
===> Plugins by BlackMamba
===> Plugins by Beber888
===> Plugins by grosbedo
=> XLRstats
===> Weaponmodifiers
=> Echelon
===> Echelon version 2
=> Configurations
=> Installers
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin
Rate this page +1 at Google Search
Web Toolbar by Wibiya
SimplePortal 2.3.1 © 2008-2009, SimplePortal