Is it possible to create a calling alias identifier? Like:
Code:
alias calling_alias {
  second_alias
}
alias second_alias {
  echo $callalias
}

This will show:
calling_alias

Or the name of the event (like 'text' or 'ctcp') if it's not an alias that's calling the second alias.
This could come in handy when used together with the $error identifier.