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

#1 2012-09-22 13:46:36

EricChen77
Scratcher
Registered: 2012-07-20
Posts: 9

I really need help with this!!!!!!!!!!!!

I really need help with this!!!!!!!!!!!!
I let the Scratch cat ask "What's your name?" and when I answer, I want it to say, Hello, (item typed in the text box) !

Can anyone please help me? I really need help with this!!!

Offline

 

#2 2012-09-22 13:49:38

Ztype
Scratcher
Registered: 2012-08-27
Posts: 100+

Re: I really need help with this!!!!!!!!!!!!

say [answer]
Answer being a variable which can be found in sensing


http://i.imgur.com/DSmyV.png

Offline

 

#3 2012-09-22 14:04:45

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: I really need help with this!!!!!!!!!!!!

when gf clicked
ask [What's your name?] and wait
set [name v] to (answer)
say <join [Hello, ] <name>> // The space after the comma is necessary.

Last edited by JH1010 (2012-09-22 14:06:08)

Offline

 

#4 2012-09-22 14:35:12

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: I really need help with this!!!!!!!!!!!!

when gf clicked
ask [What's your name?] and wait
say (join[Hello, ](answer))


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

Board footer