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

#1 2009-08-04 18:29:52

Reedski
Scratcher
Registered: 2009-07-30
Posts: 5

How do you detect certain words?

Okay, I'm making a project whereas there is a blob. At the start, I made a <ask _ and wait> script so they can type in what they want the blob to transfrom into. However, I don't know how to do add a script where certain words which are typed in activate antoher series of scripts which make the blob transfrom. I need help.

Offline

 

#2 2009-08-04 18:43:21

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: How do you detect certain words?

Code:

[if < (answer) = (cat) >]
[][switch to costume [cat -]]
[end of if]

Use this for all the costumes that the blob has.

Offline

 

#3 2009-08-04 18:48:33

Reedski
Scratcher
Registered: 2009-07-30
Posts: 5

Re: How do you detect certain words?

Thanks.

Offline

 

#4 2009-08-04 18:54:07

Reedski
Scratcher
Registered: 2009-07-30
Posts: 5

Re: How do you detect certain words?

Still doesn't work:
[block]<if><( <answer> <=> cat  )>

Offline

 

#5 2009-08-04 18:56:17

Reedski
Scratcher
Registered: 2009-07-30
Posts: 5

Re: How do you detect certain words?

Never mind, I didn't set it into the same sci[rt, but a FLAG script.

Offline

 

#6 2009-08-04 19:18:34

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: How do you detect certain words?

So... Did you get it to work?

Offline

 

Board footer