Junte o Bot Libre open source projeto BotLibre.org
Help

Variable responses

por atishist postado Sep 7 2022, 18:59

Hello, I'm intending to run my bot on a set script of responses but would like to (if possible) enable it to give "1 of n" responses, varying how users (once finished) would interact with it and make it a unique experience. Is this possible?

I've tried this before on another site that uses the same bot structure and it would always default to one response of the variable group, offering no unique experience. I'm trying again


by admin posted Sep 8 2022, 9:56
Yes, you can add multiple responses to the same question. The bot will choose one at random.
Also you can use the random() function in a template to construct randomized responses.

See,
https://www.botlibre.com/script?id=32594931

Thumbs up: 1, thumbs down: 0, stars: 3.0
Views: 753, today: 0, week: 2, month: 4

Id: 44675757
Postado: Sep 7 2022, 18:59
Respostas: 1
Pontos de vista: 802, hoje: 1, semana: 6, mês: 7
0 0 0.0/5