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 ]

You are here: Big Brother Bot ForumSupport ForumsGeneral Usage Support (Moderator: MordyT)Censor plugin kick rather than warn or ban
Pages: [1]   Go Down
  Print  
Author Topic: Censor plugin kick rather than warn or ban  (Read 663 times) Bookmark and Share
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: URT
Posts: 125
Offline Offline
Owner of BitchNipples Servers (Running B3)
« on: October 11, 2011, 06:14:33 PM »

I was wondering if that can be done?
will something like this work?

Code:
<badword name="noob" lang="en">
       
      <penalty type="kick" reasonkeyword="cuss"/>

      <regexp>[nN][Oo0][bB]</regexp>

</badword>
Logged

Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #1 on: October 11, 2011, 06:18:56 PM »

It should wok. I don't see why it won't. Did you test it and have it not work? Can you post a log if so?
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
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: URT
Posts: 125
Offline Offline
Owner of BitchNipples Servers (Running B3)
« Reply #2 on: October 12, 2011, 01:17:26 AM »

I will give it a shot


do I have my syntax right? will that cover words like:
noob
NOOB
NOOOB
nooob
noooob
NOOOOB
n00b
n000b
N00B
N000B

and if I add a u in there [nN][Oo0][uU][bB]

it should cover nub
NUB
nuub
NUUB
nuuub
NUUUB

etc. right?
« Last Edit: October 12, 2011, 01:20:51 AM by PsYc0TiC » Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 244
Offline Offline
« Reply #3 on: October 12, 2011, 01:52:57 AM »

have you checked, that you really have to take care about capital letters?

I'd just use n(0+|o+)b
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal