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

Question about the IF construct.
 
 

Hi,

I was trying to create an IF construct and Chatscript doesn’t seem to take paranthesis groupings such as: 

if ($x == abc AND ($y == a OR $y == b))

Is this currently supported? I didn’t see this mentioned in the doc.

Thanks

 

 
  [ # 1 ]

It is not supported. You will have to do that as separate things and combine them.

 

 
  [ # 2 ]

Ok, that’s what I ended up doing.  Thanks!

 

 
  [ # 3 ]

Hi, I just wanted to point out a crashing problem I’ve encountered with the Linux and version 2.9.

if (5 < _0) crashes

if (_0 > 5) does not crash.

Thanks

 

 
  [ # 4 ]

I presume you mean crashes during compilation, not execution.  I do find and have fixed for next release the error message that crashes it.

 

 
  [ # 5 ]

Yes, crash during compilation.  Thanks you!

 

 
  login or register to react