mIRC Home    About    Download    Register    News    Help

Print Thread
#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 ?

Joined: May 2003
Posts: 730
S
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..

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.

Joined: Jan 2003
Posts: 3,012
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
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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!

Link Copied to Clipboard