Discuss Scratch

UltraMinecraftMan
Scratcher
45 posts

How do i make a project understand when I type something?

I'm trying to make a project based on MS-DOS. I need my project to understand words when typed into the bar. Help?
drmcw
Scratcher
1000+ posts

How do i make a project understand when I type something?

This should be in the help with scripts. To answer your question it may help to look at the Eliza project in my signature.
cwrivera99
Scratcher
500+ posts

How do i make a project understand when I type something?

Try using an ask block like this-

Ask (Question) and Wait

And use the answer block to see what he typed.

(Answer)
ppettitt
Scratcher
100+ posts

How do i make a project understand when I type something?

cwrivera99 wrote:

Try using an ask block like this-

Ask (Question) and Wait

And use the answer block to see what he typed.

(Answer)
For example:
When Green Flag Clicked
Ask [What's your name?] and Wait
Say <Join [Hello, ] (Answer)>
cwrivera99
Scratcher
500+ posts

How do i make a project understand when I type something?

ppettitt wrote:

cwrivera99 wrote:

Try using an ask block like this-

Ask (Question) and Wait

And use the answer block to see what he typed.

(Answer)
For example:
When Green Flag Clicked
Ask [What's your name?] and Wait
Say <Join [Hello, ] (Answer)>
You don't have to put it like this, but this is just an example of one way you can use it.
Firedrake969
Scratcher
1000+ posts

How do i make a project understand when I type something?

You mean like my featured project?

Feel free to use it with credit for any scripts used from it
turkey3_test
Scratcher
1000+ posts

How do i make a project understand when I type something?

You can Separate a String Into Words and then detect certain commands.
cwrivera99
Scratcher
500+ posts

How do i make a project understand when I type something?

turkey3_test wrote:

You can Separate a String Into Words and then detect certain commands.
I know how to encode an entire list into a variable using object separation. I assume separating a string into separate words does something similar.

Powered by DjangoBB