I can't figure out how to change variables from within an alias. Is there any way to call one from within an alias?
Thanks
at the moment, you can call a variable with an alias using @variablename and clicking the 'expand variables' box on the alias, but can only set variables directly using triggers. To set a variable with an aliases, you have to make it call a script to do it, such as:
alias is 'target *' and actives a script named 'settarget'. The script would be:
sub settarget (thename, theoutput, thewildcards)
World.SetVariable "target", thewildcards (1)
end sub
However, I saw a thread not long ago where Nick said that he will change this in a future version release so an alias can set a variable in the same way that a trigger currently can, so you can select 'send to variable' and it sends the * in your alias to a variable, the variable being the same name as the label of the trigger/alias.