Hello,
I would like to create a conditional omit_from_output for an alias. I have everything else gagged properly, but when I execute a certain alias only when a certain variable is set to true. Here's my code so far.
I have other functions that set the variable to true or false, and they're attached to a trigger.
I would like to create a conditional omit_from_output for an alias. I have everything else gagged properly, but when I execute a certain alias only when a certain variable is set to true. Here's my code so far.
<aliases>
<alias enabled="y" match="^cont$" omit_from_output="y" regexp="y" send_to="12" sequence="100">
<send>continue()</send>
</alias>
</alias>
function continue()
if varSet == true then
Send("c") --I want this gagged in this instance, and not any other time I send "c"
end
endI have other functions that set the variable to true or false, and they're attached to a trigger.