Blockland Forums > Suggestions & Requests
A better curse word filter.
ShadowZero:
--- Quote from: SpreadsPlague on November 24, 2012, 10:40:58 PM ---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?
--- End quote ---
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.
MARBLE MAN:
mother of god
is a game....
anyways... Can't you do what that advanced chat filter thing did and replace the words?
jes00:
--- Quote from: Brian Smithers on November 24, 2012, 08:25:37 PM ---$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
--- End quote ---
-snip-
Never mind.
hodototman:
--- Quote from: SpreadsPlague on November 24, 2012, 10:40:58 PM ---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?
--- End quote ---
they probably hear it from their parents all the time anyway
WhatTheEff._.:
--- Quote from: Trogtor on November 24, 2012, 03:45:47 AM ---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.
--- End quote ---
<mom puts no chat at all check-box checked>
mom wins