AI Zone Admin Forum Add your forum

Chatbot Conference in the Netherlands on Tue 24, 2018, with international line-up! Check it out

list all the previous exchanges

In ChatScript, is it possible to list all the previous exchanges?

Bot: What’s your name?
Me: I’m Ludan.
Bot: How are you?
Me: I’m fine with ChatScript.

I’d like to do list all the sentences, said by the bot and the user, directly in ChatScript.
xxx[1] => Bot: What’s your name?
xxx[2] => I’m Ludan.

Is there a built-in command? Do I need to parse log files?


  [ # 1 ]

you can choose to save them yourself, and hence dump them out IF you are doing from the bot. Otherwise the :trim command reads a log file to generate a file of such


  [ # 2 ]

Thx. I’ll probably do it from the bot, with a popen that launches a :trim, and I’ll retrieve the output.


  login or register to react