Author Topic: A better curse word filter.  (Read 3846 times)

ok first, it's "bobba" that they replace it with (which they have since changed to traditional ********'s for swearing)

second, forget off.




how about parents teach their kids about swearing, when it is/isn't appropriate, and that whether or not to swear is the persons own choice and both of those choices are okay?
I agree with this, the parents risk it when they introduce their childeren to the internet and one way or another they are bound to come across a a world like forget or bitch or something else.

mother of god

is a game....

anyways... Can't you do what that advanced chat filter thing did and replace the words?

$pref::chat::BleepWord = "block";
function isSwearWord(%word)
{
   %swears = strReplace($pref::Chat::CurseList,",","\t");
   for(%i=0;%i<getFieldCount(%swears);%i++)
   {
      %swear = getField(%swears,%i);
      if(strPos(%word,%swear) > -1)
         return true;
   }
   return false;
}
package blockBleep
{
   function serverCmdMessageSent(%client,%msg)
   {
      for(%i=0;%i<getWordCount(%msg);%i++)
      {
         %word = getWord(%msg,%i);
         if(isSwearWord(%word))
         {
            %word = $pref::chat::bleepWord;
         }
         %newmsg = %newmsg SPC %word;
      }
      parent::serverCmdMessageSent(%client,%newmsg);
   }
};activatepackage(blocKBleep);


untested, probably will work though
-snip-

Never mind.
« Last Edit: November 25, 2012, 01:09:11 PM by jes00 »

ok first, it's "bobba" that they replace it with (which they have since changed to traditional ********'s for swearing)

second, forget off.




how about parents teach their kids about swearing, when it is/isn't appropriate, and that whether or not to swear is the persons own choice and both of those choices are okay?

they probably hear it from their parents all the time anyway

If anyone has played an online game called "Habbo" I think they know where I am going with this.

The script basically takes any curse word and replaces it with the word "hubba"

I was thinking there could be a more child friendly curse filter option with the word "block"

After all it is a internet lego game. I mean, less suburban moms won't have to complain about their child playing games with curse words on their forum where other suburban mothers complain about their problems.
<mom puts no chat at all check-box checked>
mom wins

<mom puts no chat at all check-box checked>
mom wins
kid turns chat on
kid wins

second, forget off.
What the hell crawled up your ass


Maybe I want to play Blockland without having to cover the screen with the cmd prompt every time I'm away. My parents are strict enough where "curse filters" aren't enough. Of course if they only see the word "block" they won't see anything.

Please don't judge my parents enough on how strict they are.
« Last Edit: November 26, 2012, 06:31:33 PM by Trogtor »

What the hell crawled up your ass


Maybe I want to play Blockland without having to cover the screen with the cmd prompt every time I'm away. My parents are strict enough where "curse filters" aren't enough. Of course if they only see the word "block" they won't see anything.

Please don't judge my parents enough on how strict they are.
So changing one thing in the whole game just for 1 user won't affect everyone?

So changing one thing in the whole game just for 1 user won't affect everyone?
I think many kids can relate

Censorship is like denying a man a steak because a baby cannot chew it. - some guy's sig.

Censorship is like denying a man a steak because a baby cannot chew it. - some guy's sig.

this.

onoes bl sopa

Jeez guys

Make it client sided and stop arguing i mean really


BobAndRob had one that replaced it with vegetables

i will find your block then blocking cut off your block then block block block and blocking throw it away.

Block Christ!
This is a blocking good idea