Sorry if Im redundant. I'm not sure if you received an answer to your question.
"Return" has two functions.
The Return command
The /return command halts a currently executing script and allows the calling routine to continue processing.
You can also optionally specify a return value which will be stored in the $result identifier. The $result can then be used in the calling routine.
/return [value]
So /return is a great way to halt a script without halting all currently running scripts. Any questions?
You also can use /return <Result> when creating a custom identifier.
alias custom {
if ($1) { return $+($1,.ini) }
}
example: /echo -a $custom(hello)
result: hello.ini
This is really a pointless alias but it demonstrates using return in this manner.
Any questions?