Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do join a variable into a sentence a sprite is saying? URGENT!!!
- StickOwlMarine
- Scratcher
12 posts
How do join a variable into a sentence a sprite is saying? URGENT!!!
Hi! I have a problem. I can't figure out how to join a variable into a sentence my sprite is saying. Please help me!
say
Could this work?
The (foo) is supposed to be a variable, but it wont fit. Do you see what I mean?
say
Could this work?
The (foo) is supposed to be a variable, but it wont fit. Do you see what I mean?
Last edited by StickOwlMarine (April 10, 2017 18:07:16)
- Bleple
- Scratcher
13 posts
How do join a variable into a sentence a sprite is saying? URGENT!!!
say (foo) for (2) secs
Just put the variable in the “say” block
If you want there to be other words around it do
say (join [Hello] (foo)) for (2) secs
WHO ELSE IS HYPED FOR SCRATCH 3!
- NitroCipher
- Scratcher
500+ posts
How do join a variable into a sentence a sprite is saying? URGENT!!!
Use this script below.
ask [What is your name?] and wait
set [variable v] to (answer)
say (join (join [Hello, ] (variable))[! I am a robot!]) for (2) secs
I hope my post helped you in some way! Post count: 500+
Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::#4b4a60 //https://scratch.mit.edu/discuss/topic/290031/ Basically done!This is my signature identifier “aWFtbml0cm9jaXBoZXI=”
- StickOwlMarine
- Scratcher
12 posts
How do join a variable into a sentence a sprite is saying? URGENT!!!
Use this script below.ask [What is your name?] and wait
set [variable v] to (answer)
say (join (join [Hello, ] (variable))[! I am a robot!]) for (2) secs
Thank you so much! You really did help me!
- Toonwave1215
- Scratcher
2 posts
How do join a variable into a sentence a sprite is saying? URGENT!!!
ok
- EV3-C
- Scratcher
100+ posts
How do join a variable into a sentence a sprite is saying? URGENT!!!
You Can Simply Use This,
(join (answer) [world])
information Burger :: hat :: #eec07b // Burger
Evil Kumquat King (( @turnRight _ @turnLeft :: pen ) :: #000000 :: ring ) :: pen // Outdated Thing I Forgot, Idk
Times King Of Page (16 :: #efbd23 ) :: #efbd23 // Yes
Name: (EV3-C :: #7d520e ) @loopArrow :: #7d520e // Dumpster Games Dev
Information Burger :: #eec07b :: cap // Leader of the 9000's in scratch blocks testing, well used to be until it got replaced
- Toonwave1215
- Scratcher
2 posts
How do join a variable into a sentence a sprite is saying? URGENT!!!
i tried it and it worked!!
- deck26
- Scratcher
1000+ posts
How do join a variable into a sentence a sprite is saying? URGENT!!!
No need to necropost to say that though. That just bumps a current topic off the top page. i tried it and it worked!!
- Discussion Forums
- » Help with Scripts
- » How do join a variable into a sentence a sprite is saying? URGENT!!!