I'm not sure if this is entirely possible or not or if there is a method for this but, can the B in an If A contains B have a list of things to match?
Following the same logic of using phrases, it would look something like this...
If {LastResult} contains "option1, option2, option3" then
Perform action(s)
Else
Ok so real world example....
If weather conditions contains "rain, thunderstorm, drizzle" then
tts.speak " it's raining | looks like rain | it's currently raining"
Now second part of this question, if we can't list the items like option1, option2, etc. to match against , a payload XML be defined in the B field to check against? So instead of just a few options maybe I have a long list of them?
Anyway, wondering if this could be done?
From a programming side, looks like if condition A string contains B string then is the way it appears to work now. With my example, it would follow along something lines of...
Check B string for delimiter "," (if it exists then parse the items then run through a For loop until each B string is compared to A string for a match) and if any are a match then do Actions
Else do standard match of A contains B and if there is a match do Actions
Anyway, hope this can be done as it would sure save having to create so many If then logic items for similar words I want to match.
Thanks!