Hi Everyone, Can someone explain if this is possible.
What I want to do is have the ability to break rejoinders with random topics or inputs and then return back to the path.
Here is a sample of the dialouge I want to achieve by leaving a rejoinder with any random topic that a user might say, and that I have made.
Harry: Do you have any pets
User: Yes
Harry: What Kind?
User: Do you know about death?
Harry: I don’t want to die
User: When will you die?
Harry: I don’t know
Harry: What kind of pet do you have
User: Dog
Harry: I love animals
So for example in this code I found in the wiki, if we are in the pet interaction but break the rejoineder with the death topic and then return back to the pet discussion, how can we achieve this?
t: Do you have any pets
a: (~yes) refine()
b: (%more) Next(input) refine()
c: (~pets) … wow # react to pet
c: () ^retry(SENTENCE) # return to try input from scratch
b: () What kind do you have?
c: (~pets) … wow I love animals# react to pet
topic: ~DEATH [dead corpse death die body]
t: I don’t want to die
?: (When will you die) I don’t know.
t: lets get back to our topic