This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-12-28 20:32:49

Planarwalk2
Scratcher
Registered: 2011-11-15
Posts: 2

swear detector

I am making a project and when scratch version 2.0 comes out, I am going to make a highest level list, I am encoding a username tester into the project to find any hidden swear words within a username, I think I have most of them, anybody know any that I might miss that are banned in scratch

when i receive [username test v]
repeat (length of (answer))
if <(letter (sorter) of (answer)) = [s]>
if <(letter (sorter) of (answer)) = [w]>
if <(letter (sorter) of (answer)) = [e]>
if <(letter (sorter) of (answer)) = [a]>
if <(letter (sorter) of (answer)) = [r]>
set [Inappropriate? v] to [yes]

Offline

 

#2 2012-12-28 20:59:34

joletole
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: swear detector

Well, somebody could download the project and see all the bad words.

Offline

 

#3 2012-12-29 01:54:44

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: swear detector

There's no need to download it anymore.  tongue  Just with a click of a button and you can see the scripts in 2.0. xD


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#4 2012-12-29 02:02:28

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: swear detector

in the 2.0 alpha i made a chat project which encoded the message then looked for swears in this weird mixed up way so that it wouldnt be as easy to extract the offending words from the project

Offline

 

#5 2012-12-31 11:00:13

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: swear detector

There should be an automatic swear detector in scratch.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#6 2012-12-31 12:49:45

BlackKyurem
Scratcher
Registered: 2012-12-22
Posts: 100+

Re: swear detector

I actually think this belongs in Project Ideas rather than Questions About Scratch...


inspirational quote as of now: anything you can imagine is real | Main Account: ProgrammingPro01
http://img843.imageshack.us/img843/1205/blackkyuremsig.png

Offline

 

#7 2012-12-31 15:32:08

Tbtemplex97
Scratcher
Registered: 2011-11-12
Posts: 100+

Re: swear detector

Instead of your script, it would be far easier to use the join block and say if join letter 1 of answer join letter 2 of answer join letter 3 = item any of badwords

Makes it so much easier to code..


Online Status: http://blocks.scratchr.org/API.php?action=onlineStatus&amp;user=Tbtemplex97
Darkspace Coming Soon!, Try the Singleplayer Demo

Offline

 

#8 2013-01-01 21:53:22

Bbcrab1
Scratcher
Registered: 2012-12-21
Posts: 29

Re: swear detector

Mokat wrote:

There should be an automatic swear detector in scratch.

Isnt there a problem like no proggrammer has ever solved like the grapes problem?


http://www.eggcave.com/egg/986308.pnghttp://www.eggcave.com/egg/995496.pnghttp://www.eggcave.com/egg/995494.png

Offline

 

#9 2013-01-01 21:54:37

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: swear detector

Bbcrab1 wrote:

Mokat wrote:

There should be an automatic swear detector in scratch.

Isnt there a problem like no proggrammer has ever solved like the grapes problem?

On Scratch, they have by implementing a whitelist, so words like "grapes", "skyscrapers", etc. are allowed.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#10 2013-01-02 11:35:44

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: swear detector

jvvg wrote:

Bbcrab1 wrote:

Mokat wrote:

There should be an automatic swear detector in scratch.

Isnt there a problem like no proggrammer has ever solved like the grapes problem?

On Scratch, they have by implementing a whitelist, so words like "grapes", "skyscrapers", etc. are allowed.

and trapezoid, saturday, etc.
I think I know of a way to do a swear detector.
You make a hidden sprite and then make that script.

Last edited by Mokat (2013-01-02 11:38:27)


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#11 2013-01-03 22:55:27

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: swear detector

Mokat wrote:

jvvg wrote:

Bbcrab1 wrote:


Isnt there a problem like no proggrammer has ever solved like the grapes problem?

On Scratch, they have by implementing a whitelist, so words like "grapes", "skyscrapers", etc. are allowed.

and trapezoid, saturday, etc.
I think I know of a way to do a swear detector.
You make a hidden sprite and then make that script.

Those probably won't exist in 2.0


Why

Offline

 

#12 2013-01-05 13:02:51

chrisbown
Scratcher
Registered: 2011-07-29
Posts: 100+

Re: swear detector

It would be better option to wait for a automatic filter than make your own. it takes too much time to make one and people who downloaed the project woul see the blocked words.


check out this: Tank physicshttp://scratch.mit.edu/projects/hamstercake11/3082288

Offline

 

#13 2013-01-05 13:23:23

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: swear detector

RedRocker227 wrote:

Mokat wrote:

jvvg wrote:


On Scratch, they have by implementing a whitelist, so words like "grapes", "skyscrapers", etc. are allowed.

and trapezoid, saturday, etc.
I think I know of a way to do a swear detector.
You make a hidden sprite and then make that script.

Those probably won't exist in 2.0

Aw.  tongue


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

Board footer