mIRC Homepage

Retrieve name of the alias

Posted By: n4z0

Retrieve name of the alias - 29/05/03 04:21 PM

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 ?
Posted By: ScatMan

Re: Retrieve name of the alias - 29/05/03 04:59 PM

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..
Posted By: n4z0

Re: Retrieve name of the alias - 29/05/03 05:02 PM

Okey.. to bad.
Thanx u.
Posted By: KingTomato

Re: Retrieve name of the alias - 30/05/03 12:24 AM

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
Posted By: Raccoon

Re: Retrieve name of the alias - 31/05/03 06:20 AM

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
© 2020 mIRC Discussion Forums