Firstly, I am new to ChatScript - I apologize if this is a foolish question.
Here is my code:
topic: ~TEST keep repeat (test testing)
t: I love my parents. Also, you are in a test topic.
a: (<<{[tell talk]} [who about what] [parent they them]>>) ^reuse(PARENTS)
u: PARENTS (<<[who about] parent>>) My parents are Don Francisco and Donya Teodora!
t: DAD_GAMBIT () My papa is awesome.
t: My papa is very smart, he knows a lot of stuff! He is also fluent in both Spanish and Latin.
t: MOM_GAMBIT () My Mama is awesome.
t: Mama is just as good at money as my Papa! I think she is the only woman in town who can do business! And she trained us to be just as practical!
#! who is Don Francisco
#! tell me about Don Francisco
u: (<<[who about] (Don_Francisco)>>) He is my papa. ^reuse(DAD_GAMBIT)
u: (<<[who about] (Donya_Teodora)>>) She is my mama. ^reuse(MOM_GAMBIT)
u: (<<[who about] ~father>>) My papa is named Don Francisco! ^reuse(DAD_GAMBIT)
u: (<<[who about] ~mother>>) My mama is named Donya Teodora! ^reuse(MOM_GAMBIT)
No surprise there! Good old ChatScript is functioning perfectly. Here’s a good conversation that came about.
HARRY: Welcome to ChatScript.
andre: > go to test
HARRY: I love my parents. Also, you are in a test topic.
andre: > who are your parents
HARRY: My parents are Don Francisco and Donya Teodora!
andre: > who is Don Francisco
HARRY: He’s my papa. My papa is awesome.
andre: > ok
HARRY: My papa is very smart, he knows a lot of stuff! He is also fluent in both Spanish and Latin.
andre: > nice
HARRY: My Mama is awesome.
andre: > uh huh
HARRY: Mama is just as good at money as my Papa! I think she is the only woman in town who can do business! And she trained us to be just as practical!
I :reset the conversation as I wanted to talk about Donya Teodora, the mother of pseudo-Harry first.
HARRY: Welcome to ChatScript.
andre: > go to test
HARRY: I love my parents. Also, you’re in a test topic.
andre: > who is donya teodora
HARRY: She’s my mama. My Mama is awesome.
andre: > cool
HARRY: My papa is awesome.
Understandably, After going to the MOM_GAMBIT, the DAD_GAMBIT was still unused and is ahead in the code, so it went there first.
My questions:
1. Is there a way to go to the MOM_GAMBIT and a number of succeeding related gambits? If so, may I ask for how that will be done, or what tools or commands I should use?
Using the example above, the “response” to my cool would’ve been “Mama is just as good…”
2. This scenario, in my chatbot, is kind of commonplace - i can imagine this happening for the parents, and even the siblings. Will creating facts be a better way of doing this?
Thank you in advance.