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

#1 2009-01-19 16:43:21

Cheeseboi1337
Scratcher
Registered: 2009-01-16
Posts: 15

Codes

I'm trying to program it so that you have to put in a password to access a broadcast allowing it to work. Example if you type power it would let me activate a laster. How could I do this?


http://img23.imageshack.us/img23/8418/catmanxo9.gif

Offline

 

#2 2009-01-20 13:18:06

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Codes

wait untill key is pressed (P)
wait untill key is pressed (o)
wait untill key is pressed (w)
wait untill key is pressed (e)
wait untill key is pressed (r)
Broadcast
tongue  easy right?

Offline

 

#3 2009-01-21 14:50:34

Cheeseboi1337
Scratcher
Registered: 2009-01-16
Posts: 15

Re: Codes

Thanks. It works.

Last edited by Cheeseboi1337 (2009-01-21 14:58:08)


http://img23.imageshack.us/img23/8418/catmanxo9.gif

Offline

 

#4 2009-01-22 07:14:38

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Offline

 

#5 2009-01-29 23:48:14

floppy_gunk
Scratcher
Registered: 2008-11-14
Posts: 500+

Re: Codes

Except you could press pdofwejr and it would still work, because you are still typing power, just with extra characters.


http://img163.imageshack.us/img163/1917/2856lg.jpg Get it now!  smile

Offline

 

#6 2009-01-30 01:44:35

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Codes

you could run a couple of long if statements to fix that...

Offline

 

Board footer