Returnex
From Scriptwiki
Similar to /return, except it retains leading and trailing spaces instead of stripping them.
/returnex [string]
Example
alias test1 { echo -ag Normal return: $len($test2(1)) echo -ag Retained return: $len($test2(2)) } alias test2 { if ($1 == 1) return $chr(32) $+ abc def $+ $chr(32) $+ $chr(32) elseif ($1 == 2) returnex $chr(32) $+ abc def $+ $chr(32) $+ $chr(32) } Output of /test1: Normal return: 7 Retained return: 10