Code:
alias highlight {
if ($isid) return isid
else echo -a ok
}


/highlight will echo in the active window "ok"
/!highlight will call the internal command
$highlight will call the internal commmand
$/highlight will return isid

so $/aliasname is what you want but this have to be used carefuly imo smile


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net