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

#1 2012-10-08 17:53:53

RoguePhantom01
Scratcher
Registered: 2012-04-05
Posts: 100+

Chatbot help?

Could someone help me with a script for a chatbot? I'm at the very beginning of making one at the moment, and I don't know where to start.


http://i1273.photobucket.com/albums/y404/orangetelephone/sig2.jpg

Offline

 

#2 2012-10-08 19:00:32

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Chatbot help?

Here's a good place to start.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#3 2012-10-08 19:02:15

gfchll
Scratcher
Registered: 2012-04-21
Posts: 100+

Re: Chatbot help?

you need a list,. make it fill the whole screen. to differentiate between the two people, you need this:

<join (p1)<Join[:]<join [] [tevt here]>>>//change p1 with p2 for other person
you need to set the name of the people so...
 set [p1 v] to [name]//same for p2
then you put the script together
add [first thing^^^ ] to [list v]
you do this over and over for the chat. you can also add questions too.
 ask [question] and wait
then put the answer in the last part of the first thing I put in this reply. You can also put wait () secs blocks in too if you want.

Last edited by gfchll (2012-10-08 19:02:47)


HELLO EVERYBODY!

Offline

 

Board footer