Global aliases can be called from any other scripts, timers and the editbox. Here is an example of a global alias...

alias test echo -a test <-- global alias

Local aliases and only be called from within the same script. Here is an example of a local alias...

alias -l test echo -a test <-- local alias