Author Topic: Text Value Comparison - Multiple (accepted) Values?  (Read 858 times)

Nizzine

  • Newbie
  • *
  • Posts: 4
Text Value Comparison - Multiple (accepted) Values?
« on: July 24, 2019, 07:35:46 AM »
I am total beginner with this stuff. Tried to rtfm and google, but there's something I don't understand.
I tried "equals" and using comma between words.

So what am I doing wrong here? It works prefectly with just one word, but can I and how to add multiple words?

Thanks in advance!



Oh btw, I have zero understanding about coding.  ;D

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Text Value Comparison - Multiple (accepted) Values?
« Reply #1 on: July 24, 2019, 07:41:00 AM »
You must compare each word individually, it is not possible to use a semicolon-separated list.

E.G.
Code: [Select]
Begin Condition : [{LASTSPOKENCMD}] Contains 'Confirm' OR [{LASTSPOKENCMD}] Contains 'Affirmative' OR [{LASTSPOKENCMD}] Contains 'Yes'

You can use the condition builder when creating the condition initially, by selecting "Compound Condition Builder" instead of "Single Condition", or you can edit an existing condition by right-clicking it and choosing "Edit With Condition Builder" in the context menu.

Nizzine

  • Newbie
  • *
  • Posts: 4
Re: Text Value Comparison - Multiple (accepted) Values?
« Reply #2 on: July 24, 2019, 08:27:42 AM »
Thanks a ton! Works like a charm!