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..

Problem with white space between fixed and random text in outputmacro
 
 

Hi,

I have a problem with white space in outputmacro. for example I have this macro:

outputmacro: ^ask_for_topic(^other)
 
 
# generate output such as: 
 # "What are you looking for?" 
 # ^other==true "Are you looking for anything else?"
 
 
if (^other == null{ What are } else { Are }
 you [ looking 
for ]  [ interested in ] 
 
if (^other == true
  [ anything ] [ something ] 
else [ like ] [ such as ^list_topics() [] [ maybe ]
 }
 

And it generates output such as:

^ask_for_topic(null

What are youinterested in?

What are youlooking for?

^ask_for_topic(true

Are youlooking for something else such as…

As you can see, after the fixed output text (you) the macro not generating the white space between the text and the randomized text.

If there is some way to impose white space output or anything else that would be helpful.

Thanks

 

 
  [ # 1 ]

It is a bug. It has been fixed and will be in the next release, hopefully this weekend.

 

 
  [ # 2 ]

Thank you very much Bruce,

I’m looking forward for the next release.

 

 
  login or register to react
‹‹ .Action Bot      ChatScript Wiki ››