0

random, variable and IF nodes

vinceresempre bet@gmail com 6 years ago 0

Hi, quick one.


I'd would like to create a story with the following structure, is it possible?:

1. use ask a question

2. bot reply with a random answer (2 items)

3. variable = one of the 2 random items of the answer

4. IF node: if in random reply bot said X so go to episode 2 otherwise go to episode 3

Let me give you an example:

1. User asks to the bot: Are you a male or female?

2. (Random node): Male or female 

3. (variable node) Gender = male and gender=female

4. If node: If geneder =male go to episode 2 otherwise go to episode 3

I gave a look to the FAQ but the variable node example is based on a user choice, I'd like to create a story with a IF node that is based on a random message node of the bot.


Is there anyone who can help me with it?


Cheers