Open Dawn-Xu-helloworld opened 10 months ago
I think in some conditions, we would need a temporary but unfixed oneshot action, It's necessary to use a local variable, or a disposable variable to make the namespace clean and tidy, but the action should keep in work
You can use:
#line substitute variables #action {$condition} {#show trigged!};
Keep in mind if you have any variables in the action body, you may want to use $$var
to prevent substitution.
You can use:
#line substitute variables #action {$condition} {#show trigged!};
Keep in mind if you have any variables in the action body, you may want to use
$$var
to prevent substitution.
Can I use this inside a #line oneshot ?
alias set {
}
alias test {
}
when you "set" up and "test", nothing happened, and the action turn back into #action {$condition} {#show trigged!}
In my point, I think the action's trigging text should be stable and unchangeable.