AI Zone Admin Forum Add your forum

CX Company, chatbot market leader in the Netherlands since 2005, will speak on the Amsterdam Chatbots Meetup on Wednesday, Oct 18!

HELP: Access variables from client side
 
 

Hello chatbot community,

Currently doing a project using ChatScript and wanted to know if there is any way of the client to know the value of variables set in the bot side.

Thank you!

 

 
  [ # 1 ]

ChatScript protocol states that clients should send and receive out-of-band data in brackets before any user data.  STD web pages delivered with CS strip out standard capabilities (callback, loopback, alarm).  So all you have to do is, for example, in a postprocessing topic, generate the data you want within []  and call ^postprintbefore

 

 
  login or register to react