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

#1 2010-02-14 12:36:11

ruehlm74
Scratcher
Registered: 2008-12-02
Posts: 3

How to make typed in commands?

I am trying to make specific codes for a project where you type in a word on the keyboard and then stuff happens. how do I do this?

Offline

 

#2 2010-02-14 13:58:00

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: How to make typed in commands?

You can use the ask block in sensing.

For example you could have:

<ask [enter code]>
<if [(answer)=password]>
<Say [you have successfully typed the word password]>
<end if>

Does that help?


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

Board footer