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

Block them with Bug-me-not



if every swear word was replaced to block in the script, does this make blockland forgetland

no it makes it blockland dummy


Reminds me of how RTB forums used to have a swear filter, so sentences would read like:

"I'm gonna put my big fat panda in your ice cream until you cookiemonster all over the place"

Reminds me of how RTB forums used to have a swear filter, so sentences would read like:

"I'm gonna put my big fat panda in your ice cream until you cookiemonster all over the place"
...AHAHAHAHAHAHAHAHAHAHA!

How the hell would this work


$Pref::Chat::CurseList = "bitch,stuff,forget,fuk,cunt,monday,niglet,starfish, ass ,friend, cigarette , cigarettes ,suck my, richard, rooster , kike ,";
uhuhuhuhuuuhuhuhuhuhuhuhuhuh

I think its fine the way it is, we don't want any younger kids on Blockland, also one of the reasons people don't want Blockland on steam is because they say its childish.

Also lots keep saying that if Blockland gets greenlit that it will bring kids into steam.

with scripts
It's not possible to filter cuss words unless you search the text for allowed words and remove everything else.
Lego universe had the same system, it sucked ass and was like unusable, we communicated by typing ramdom words, the reader had to take the first letters and assemble the meant word.

It's not block possible to remove block 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

untested, probably will work though
that fücking script wont fugging work cause you can just use fuccing other spellings

that fücking script wont fugging work cause you can just use fuccing other spellings
This is the reason why the curse filter doesn't work in the first place. PEOPLE DON'T ACTUALLY SAY THE WORD. And its usually people who don't know how to turn OFF the filter.

I think its fine the way it is, we don't want any younger kids on Blockland, also one of the reasons people don't want Blockland on steam is because they say its childish.

Also lots keep saying that if Blockland gets greenlit that it will bring kids into steam.
because not liking profanity in your games makes you childish.


Not to mention theres nothing wrong with younger players. If they dont want to follow the rules, ban em for a week. A majority of our players started fairly young
« Last Edit: November 24, 2012, 10:42:45 PM by Shadowed999 »

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?
« Last Edit: November 24, 2012, 10:43:58 PM by SpreadsPlague »