Agreed, this would be a handy feature.
I'd also like to see an identifier to compliment this function, allowing me to enumerate every command and alias by name, and to find out which one has a higher priority. This identifier should support wildcard characters so one could do, $alias(*tok,0) and access all the Token Identifiers. Additional parameters/properties would indicate if commands/ identifiers/ custom aliases should be included in the mix.
- Raccoon