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

#1 2011-05-05 12:27:46

wellitshould
New Scratcher
Registered: 2011-05-05
Posts: 16

is it possible?

hi guys i would like to know if it is possible to have the sprite respond to your input for example:

on sensing it contains a command which says ' ask' the text in it says 'what is your name'
am i able to have the sprite reply saying 'hello user1' without me having to write 'user1' into the text bar?

Offline

 

#2 2011-05-05 14:47:48

The_Dancing_Donut
Scratcher
Registered: 2010-08-03
Posts: 1000+

Re: is it possible?

Ask the question, and use a 'say' block with a '<join [hello] [world]>' block inside. In the [hello] bit, type a message such as 'Hey there, '. Leave a space after the last letter. In the [world] bit, drag an (answer) block.

In that example, the sprite will say: Hey there, [what the answer to question was].


Hope that helped  smile


Offending strangers since 2010.

Offline

 

#3 2011-05-06 10:37:49

wellitshould
New Scratcher
Registered: 2011-05-05
Posts: 16

Re: is it possible?

cheers mate very helpful indeed

Offline

 

Board footer