I have to write a program for school which involves a sprite asking the user would they like a cup of tea. The user then decides by using the (y) button for yes or the (no) button for no. The program must have an (if else) command and a variable. It should just say "ok ill make u one" if Yes and "ok goodbye" if no.
Im really really struggling with this as i am very very new to scratch.
I would very much appriciate any support that anyone can offer
Thankyou
Offline
ask [Would you like a cup of tea?] and wait if <(answer) = [y]> say [OK, I'll make you one.] else say [OK, goodbye]
Is that what you're looking for?
Offline
scimonster wrote:
Code:
ask [Would you like a cup of tea?] and wait if <(answer) = [y]> say [OK, I'll make you one.] else say [OK, goodbye]Is that what you're looking for?
Yeah that sounds about right scimonster
Offline
emboar30 wrote:
scimonster wrote:
Code:
ask [Would you like a cup of tea?] and wait if <(answer) = [y]> say [OK, I'll make you one.] else say [OK, goodbye]Is that what you're looking for?
Yeah that sounds about right scimonster
Good.
Offline