Return string from list ?
Posted: Thu Feb 28, 2019 10:51 pm
Trying to figure out how to return results from a trigger.
I have the trigger working to match if any names from a list are in the messge
Bob shouts, 'Jump to the left, (Joslin|Devorah|{c}) and step to the right, (Joslin|Devorah|{c})!'
But I can't figure out how to get the matched name into the display line ot text to speech line.
I want to output something like -
Jump - {s1} and Step {s2}
I have the trigger working to match if any names from a list are in the messge
Bob shouts, 'Jump to the left, (Joslin|Devorah|{c}) and step to the right, (Joslin|Devorah|{c})!'
But I can't figure out how to get the matched name into the display line ot text to speech line.
I want to output something like -
Jump - {s1} and Step {s2}