generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Can someone help me make a specific chat filter? [PAYING]

Previous Thread :: Next Thread 
mrbobbilly is not online. mrbobbilly
Joined: 27 Feb 2010
Total Posts: 8142
24 Sep 2017 09:29 AM
Like, I made my own chat gui feature that replaces the Roblox default chat for a game I'm making, but I have no clue how to make a spam filter/swear filter for it.

And no I don't want the one Roblox made, that one is terrible. The one I want, for example, is like in the script you put in specific words to be filtered and such.

Can someone help please?

I'll pay you if you do it for me
Report Abuse
22618709 is not online. 22618709
Joined: 25 Dec 2011
Total Posts: 19221
24 Sep 2017 09:34 AM
Roblox forces the use of their own filter


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
24 Sep 2017 09:37 AM
Don't tell him that, just let him get banned.


Report Abuse
mrbobbilly is not online. mrbobbilly
Joined: 27 Feb 2010
Total Posts: 8142
24 Sep 2017 09:37 AM
Some other games use their own chat filter, one game I know called The Maze Runner uses their own filter, the dude who made the game used his own filter where he puts in his specific word filter. I want something like that
Report Abuse
mrbobbilly is not online. mrbobbilly
Joined: 27 Feb 2010
Total Posts: 8142
24 Sep 2017 09:40 AM
Dude what are you saying? Why would I get banned for having a custom filter? Many other games have their own filter, and they don't get banned. Clonetrooper's old Roblox game has his own fill-in-the-blank filter thing
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
24 Sep 2017 09:47 AM
I'll do it. Tested, and works.

local TO_FILTER = {"noob", "idiot"}
local function FILTER(sentence)
local lower = sentence:lower()
local posit = {}
for i = 1, #TO_FILTER do
local start,stop = lower:find(TO_FILTER[i]:lower())
if start then
posit[ #posit + 1 ] = {start, stop}
end
end
for i = 1, #posit do
sentence = sentence:sub(1, posit[i][1]-1) .. string.rep("$", posit[i][2]-posit[i][1]+1) .. sentence:sub(posit[i][2]+1)
end
return sentence
end

print(FILTER("Sometimes, Harold, you're such a noob of an idiot."))


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
24 Sep 2017 09:50 AM
"Dude what are you saying? Why would I get banned for having a custom filter?"
Because you're not allowed to have a custom filter anymore. Not now that Roblox is using CommunitySift.
I gave you that script, go ahead and use it. Your game probably won't be deleted until someone reports it anyways, and since your game is probably never going to get popular, that may never happen. But if you do get banned, it's no skin off my own back.


Report Abuse
mrbobbilly is not online. mrbobbilly
Joined: 27 Feb 2010
Total Posts: 8142
24 Sep 2017 09:50 AM
And where would I put that? I made my own chat feature, so...?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
24 Sep 2017 09:51 AM
"I made my own chat feature, so...?"
So you should know what to do. If you can script a working chat system, I'm sure you can call a function.


Report Abuse
mrbobbilly is not online. mrbobbilly
Joined: 27 Feb 2010
Total Posts: 8142
24 Sep 2017 09:52 AM
I made the chat feature because I had help from people from this subforum partially. I'm an semi intermidiate scripter, not advanced.. I need help whenever I code things all the time sadly
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
24 Sep 2017 09:54 AM
Oh, I see. Well, wherever it displays the message to the GUI, do something like this instead.

Rather than
TextLabel.Text = message
do
TextLabel.Text = FILTER(message)


Report Abuse
mrbobbilly is not online. mrbobbilly
Joined: 27 Feb 2010
Total Posts: 8142
24 Sep 2017 11:02 AM
Actually the game MIGHT get popular, since I'm making a The Maze Runner game that will basically be replacing the one with people playing it now, considering the fact that the owner like 85 percent abandoned the game and almost never puts new content anymore for nearly 2 years.

And The Maze Runner game has a ton of people playing and want a new version of it, so that's exactly what I'm doing.

Right now the one with people in it has about 120 people playing right now, it was a pretty popular game in 2016 with from what I remember 2 thousand people on average a day, so yeah,

It's a long shot for me but I'm pretty popular on his game so yeah it's a chance.
Report Abuse
mrbobbilly is not online. mrbobbilly
Joined: 27 Feb 2010
Total Posts: 8142
24 Sep 2017 11:46 AM
ctudfyiguohi
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image