AI Zone Admin Forum Add your forum

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

Create ^YES Outputmacro with a random response

I would like to create an output macro that randomly returns an affirmative response.  I have created the following:

outputmacro: ^YES() [Yep][Yeah][Sure][Roger][Aye][Unquestionably]

It is currently returning only the first response each time it is called.
Also, I am getting


as the response including the left square bracket.  Is there another method for creating random responses using an output macro or is there a syntax error in my statement?  Thanks.


  [ # 1 ]

A bug. New release of CS will probably happen this weekend or early next week that will fix it.


  [ # 2 ]

new release now up


  [ # 3 ]

Thanks Bruce!  It works fine now with version 4.7.


  login or register to react