$result - Stores the number value returned to a calling routine by the /return command.
It's not at all that.. That work only then.. Alias Gu { return lol } Alias Gugu { gu echo $result }
But not work here.. Alias Gu { return lol } Alias Gugu { if ($gu == lol) echo $result } Add support of the $ aliases/standart commands what have return.. Ex... Use that: Alias Some { ;%Compile = The next day date.. var %Compile = $asctime(yyyy-m-) $+ $calc($asctime(d) + 1) 06:00 if ($ctime(%Compile) != $null) { return $result } } Instead of: Alias Some { ;%Compile = The next day date.. var %Compile = $asctime(yyyy-m-) $+ $calc($asctime(d) + 1) 06:00 var %Rez = $ctime(%Compile) if (%Rez != $null) { return %Rez } }