How can i retrieve the name of the alias which is executed ?
example :
alias blah { return $bloh }
where $bloh is a mirc identifier who send the name of the current identifier (here : blah)
Is it exist ?
no, there is no such identifier and there is no need for that, cuz u know yourself what is the identifier name
alias blah { the alias name is blah }
i think u want it becuz u think there is wildcards in the alias name, so, there is no wildcards in the alias name..
you may try
alias my_really_long_alias_thats_hard_to_retype {
/set -u0 %curAlias my_really_long_alias_thats_hard_to_retype
..
return %alias
}
That'd be kinda cool if it had almost like a $this functionality as classes do. >:D
Link to a
relevant post in the Feature Suggestion forum. One can only hope Khaled adds this feature sometime down the road. *crosses fingers*
- Raccoon