mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
ok tried search, couldnt think of the right words to search on frown

Anyway.

I want to create some identifier aliases such as
$blah(x,y,z).first
$blah(x,y,z).last
$blah(x,y,z).fredflinstone etc etc

how do i detect which one i called?

PS If u know its not possable just say so, please dont tell me, oh just put them in as a parameter, i know i can do that, but its a patch on an actual identifier
ie: im replacing say $hget(name/N, N).item with $newhget(name/N, N).item
I want to be able to sweep code with a search and replace to implement this, example 'find "$hget(" replace with "$newhget$(" and im done.

Joined: Jan 2003
Posts: 53
Z
Babel fish
Offline
Babel fish
Z
Joined: Jan 2003
Posts: 53
you might want to take a look at $prop
you can check if ($prop == fredflinestone) e.g.

Joined: Sep 2003
Posts: 4,230
D
DaveC Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
ho hum it all becomes so plainly there in the help file as soon as someone tells you the thing to use smile Thanks for the heads up.


Link Copied to Clipboard