<variable name="names">trevize|crean|kacie|zeltik</variable>
<trigger
expand_variables="y"
ignore_case="y"
match="^(\w+) waves (his|her) hands quickly in front of the eyes of a Vodun doll of @!names\.$"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note("Matched")</send>
</trigger>
It's quite obvious what I want to do. I'm sorry for most likely asking for an answer that is somewhere in this forum already but I've been searching for a hour or so now..
Also the reason I want to match a variable instead of adding it into the trigger itself by doing (crean|zelik|trevize|kacie) is that I have many triggers with these specific names and I want to be able to change the names easily.
Thanks
<trigger
expand_variables="y"
ignore_case="y"
match="^(\w+) waves (his|her) hands quickly in front of the eyes of a Vodun doll of @!names\.$"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note("Matched")</send>
</trigger>
It's quite obvious what I want to do. I'm sorry for most likely asking for an answer that is somewhere in this forum already but I've been searching for a hour or so now..
Also the reason I want to match a variable instead of adding it into the trigger itself by doing (crean|zelik|trevize|kacie) is that I have many triggers with these specific names and I want to be able to change the names easily.
Thanks