not sure where you are going with this ...
alias -l sigidentifers
{
alias -s sigtime $ctime
alias -s lastname $1
alias -s ok $true
};
With support for static aliases
on *:signal:TEST:{
sigidentifiers
if ($sigtime > 0) echo -s TIME
if ($lastname == $me) echo -s ME
if (!$ok) halt};
Without support for static aliases
on *:signal:TEST:{
if ($asctime > 0) echo -s TIME
if ($1 == $me) echo -s ME
if $true halt
}
or even:
alias -l sigidentifers
{
if ($1 > 0) echo -s TIME
if ($2 == $me) echo -s ME
if $3 halt
};
on *:signal:TEST:{
sigidentifiers $asctime $1 $true
}
Mind you, debugging using "static" would also be a nightmare:
What would "/do fred" return?
"Invalid command" in "/do" may not shed too much light!
Cheers,
DK