duh, ok me stupid

Remote Scripts
You can add aliases to remote scripts by using the alias prefix and then entering your alias as usual.

alias add {
%x = $1 + $2
return %x
}

This is the same custom identifier as above, except it uses the alias prefix.

If you specify the -l switch in the alias definition, the alias becomes accessible only by commands in the same script and invisible to the command line and other scripts.

alias -l add {
%x = $1 + $2
return %x
}