There's already an option to return the scripted identifier:

Code:
alias dll {
  return hello world
}
//echo -a $.dll $/dll