mIRC Home    About    Download    Register    News    Help

Print Thread
#89730 09/07/04 12:16 AM
Joined: Apr 2004
Posts: 66
C
Cyrex Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Apr 2004
Posts: 66
How about implementing a new identifier called $naddr? $naddr would return the named address of a given ip (if one exists).

Ex:

//echo -a $naddr(209.240.130.48)

mIRC would return:

mirc.com

#89731 10/07/04 07:21 AM
Joined: Jul 2003
Posts: 11
Z
Pikka bird
Offline
Pikka bird
Z
Joined: Jul 2003
Posts: 11
To get the "IP's name", mIRC has to perform a dns lookup. This is not instantaneous, so it can't be returned like an identifier. IF it would return instantneously, mIRC would have to hang until it recieve a result to pass to the identifier.

By the way, you can still use /dns 209.240.130.48
Then, get the results with on *:DNS:echo -a It's $raddress !

/help on dns for more info cool


Link Copied to Clipboard