Really interesting...
I hope this will be added in future versions!

Just a few notes:
codemastr, you're not forced to use global vars/hashtables etc... if you want to return multiple values, you can simply use something like that:
Use: $decrypturl(http://www.nospam.here:80/path/to/my/favourite.files)

alias decryptURL {
; Notes:
; - See /help $gettok for help on functions used
; - Actually, %domaine & %fullpath are here just as a demo and won't be used...
; - $chr(47) is "/" and $chr(58) is ":", we use ASCII codes...

var %protocol $gettok($1,1,58), %domaine $gettok($1,2,47), %hote $gettok(%domaine,1,58), %port $gettok(%domaine,2,58), %fullpath $gettok($1,3-,47), %path $deltok(%fullpath,$numtok(%fullpath,47),47), %file $remove(%fullpath,%path,/)

; for %path we do the following:
; - get everything after http://www.nospam.here:80/ (we already stored that in %fullpath, that's why we use it...)
; - remove the part of the string after the last "/" (ie: we remove the file from the %fullpath to get the %path to files smile)

; for %file, it's not a secure way to get the filename, but it works in this demo (we could also do a $gettok($1,$numtok($1,47),47) which is safer, but i wanted a change...)

return %protocol %hote $iif(%port == $null,80,%port) / $+ %path $+ / %file
}

And we could have the following:
alias myURL {

; see /help /tokenize for help on that topic...
; basically, we put each part of the URL in $1, $2, $3 etc...
tokenize 32 $decrypturl(http://www.nospam.here:80/path/to/my/favourite.files)

; we "echo" how to access the page on a channel/query...
say To get to my secret page, you have to connect to $2 on port $3 using the $upper($1) protocol, then browse through $4 until you reach $5 !

; Here is what should show up:
; To get to my secret page, you have to connect to www.nospam.here on port 80 using the HTTP protocol, then browse through /path/to/my/ until you reach favourite.files !
}


++, MiSsInGnO
$gettok, je t'adore wink)

Note: sorry for my bad english
Note 2: this snippet hasn't been tested but should work fine...