AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

How to force ChatScript to give only one answer for some questions?
 
 

Hi
I am trying to build a new bot with CS. But when I writr

u: ( what is your name my name is x

And try to test my bot, it only answers “my name is x” for the first time and if I ask again it’s answer will differing! How can I fix this and force CS to answer same thing if I asked a same question for several time?

 

 
  [ # 1 ]

Your topic should use keep and repeat.

topic: ~treatmentstried keep repeat (ice heat ~medical_treatments)

 

 
  [ # 2 ]

or make use system.

topic: ~topicname system ()


or use the ^keep() and ^repeat() functions.

 

 
  [ # 3 ]

Thank you so much!

 

 
  login or register to react
‹‹ Treating numbers as strings      Wildcards ››