mIRC Home    About    Download    Register    News    Help

Print Thread
Retrieve name of the alias #26915 29/05/03 04:21 PM
Joined: May 2003
Posts: 2
N
n4z0 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
N
Joined: May 2003
Posts: 2
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 ?

Re: Retrieve name of the alias #26916 29/05/03 04:59 PM
Joined: May 2003
Posts: 730
S
ScatMan Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
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..

Re: Retrieve name of the alias #26917 29/05/03 05:02 PM
Joined: May 2003
Posts: 2
N
n4z0 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
N
Joined: May 2003
Posts: 2
Okey.. to bad.
Thanx u.

Re: Retrieve name of the alias #26918 30/05/03 12:24 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
Re: Retrieve name of the alias #26919 31/05/03 06:20 AM
Joined: Feb 2003
Posts: 2,700
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,700
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


Well. At least I won lunch.
Good philosophy, see good in bad, I like!