So I'm trying to figure out how to store an equation in a variable for use in a single trigger, so I was playing with it in aliases to see how it works.
I can only seem to get it to work if I have two aliases, one that sets the variable, then another to call the variable.
Is there a way to do both in one alias/trigger?
I can only seem to get it to work if I have two aliases, one that sets the variable, then another to call the variable.
Is there a way to do both in one alias/trigger?
<aliases>
<alias
match="test *"
enabled="y"
send_to="12"
sequence="100"
>
<send>test = "%1" + ("%1" * ".2")
SetVariable ("Test", test)</send>
</alias>
<alias
match="test2"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>say @Test</send>
</alias>
</aliases>