Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I make a bad word detecter
- XXSHINY_SYLVEONXX
-
Scratcher
53 posts
How do I make a bad word detecter
I need help with a bad word detector but there are so much bad words how do people list them all unless it's a different code.
- Catscratcher07
-
Scratcher
1000+ posts
How do I make a bad word detecter
If this is a could chat project, if there is a need for a filter the project would not be allowed in the first place, please see the policy on cloud chat projects
If what you are filtering isn't being transmitted over cloud, you have no reason to filter it.
If what you are filtering isn't being transmitted over cloud, you have no reason to filter it.
- XXSHINY_SYLVEONXX
-
Scratcher
53 posts
How do I make a bad word detecter
If this is a could chat project, if there is a need for a filter the project would not be allowed in the first place, please see the policy on cloud chat projectsWhat's a cloud variable
If what you are filtering isn't being transmitted over cloud, you have no reason to filter it.
- DanglyLegs
-
Scratcher
95 posts
How do I make a bad word detecter
Cloud variables are special number-only variables that are the same across all projects. They're what allow online multiplayer projects to be possible.If this is a could chat project, if there is a need for a filter the project would not be allowed in the first place, please see the policy on cloud chat projectsWhat's a cloud variable
If what you are filtering isn't being transmitted over cloud, you have no reason to filter it.
Could you please explain what your project is that you need the filter for?
- Catscratcher07
-
Scratcher
1000+ posts
How do I make a bad word detecter
Correction cloud variables are the same across all clients playing a given project and that are saved in the cloud.Cloud variables are special number-only variables that are the same across all projects. They're what allow online multiplayer projects to be possible.If this is a could chat project, if there is a need for a filter the project would not be allowed in the first place, please see the policy on cloud chat projectsWhat's a cloud variable
If what you are filtering isn't being transmitted over cloud, you have no reason to filter it.
Could you: please explain what your project is that you need the filter for?
- deck26
-
Scratcher
1000+ posts
How do I make a bad word detecter
You can't detect bad words basically but why do you want to? Chat projects are not allowed other that using a defined list of acceptable phrases (ie not just combining words that individually are OK) so there should never be a need for this.
- DanglyLegs
-
Scratcher
95 posts
How do I make a bad word detecter
~snip~Sorry, by “all projects” I meant everyone who has that project open.
Correction cloud variables are the same across all clients playing a given project and that are saved in the cloud.
- 1nteger_
-
Scratcher
42 posts
How do I make a bad word detecter
If this isn‘t a chat project, you could make a bad word detector by doing this: (Using the translate extension)
You can also input multiple words.
This works because it automatically blocks bad words from being translated.
Please note that translate is really slow, it might take 1-2 seconds for it to respond.
But if you are making a chat project, just use a pre-determined list, as deck26 said.
if <(translate (phrase) to (English v))=()> then // leave the input after translate blank
bad word detected in text :: grey
else
no bad word :: grey
end
You can also input multiple words.
This works because it automatically blocks bad words from being translated.
Please note that translate is really slow, it might take 1-2 seconds for it to respond.
But if you are making a chat project, just use a pre-determined list, as deck26 said.
- XXSHINY_SYLVEONXX
-
Scratcher
53 posts
How do I make a bad word detecter
If this isn‘t a chat project, you could make a bad word detector by doing this: (Using the translate extension)Yeah that was what I meantif <(translate (phrase) to (English v))=()> then // leave the input after translate blank
bad word detected in text :: grey
else
no bad word :: grey
end
You can also input multiple words.
This works because it automatically blocks bad words from being translated.
Please note that translate is really slow, it might take 1-2 seconds for it to respond.
But if you are making a chat project, just use a pre-determined list, as deck26 said.
- 1234not123abc
-
Scratcher
100+ posts
How do I make a bad word detecter
you could try and find a list of bad words on the internet and copy and paste into a variable and then put that variable into a list with an auto variable to list
- DanglyLegs
-
Scratcher
95 posts
How do I make a bad word detecter
you could try and find a list of bad words on the internet and copy and paste into a variable and then put that variable into a list with an auto variable to listIf you do this, your project will not be allowed on Scratch because it contains inappropriate language.
- coolteamaccount
-
Scratcher
43 posts
How do I make a bad word detecter
The translate block returns nothing if the output is a bad word, try that
- Discussion Forums
- » Help with Scripts
-
» How do I make a bad word detecter






