When the user inputs the answer, it needs to execute a different block of code, but only if the answer was input.
@oofpaste249 = smol bran
When the user inputs the answer, it needs to execute a different block of code, but only if the answer was input.
@oofpaste249 = smol bran
More context….?
Is this what you mean?
If not you need to elaborate.
[scratchblocks]
when flag clicked
ask [What's your name?] and wait
if <not <(answer) = []>> :: control
say [That's a nice name!]
else
say [You don't have a name!?]
[/scratchblocks]
Cmon dude, you literally showed me how to do this when I found snap, remember?
[scratchblocks]
example hat block :: control hat
ask [what comes after "e"?] and wait
if <(answer) = [a]> :: control
say [EA Sports]
else
say [The answer was "a". "EA Sports"]
[/scratchblocks]
im pretty sure i didnt but okey
yes i was just stupid because i just had a brain fart
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.