mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2004
Posts: 20
C
Cork Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jun 2004
Posts: 20
hi
Im trying to retrive a users nick from its address and i found $dns().nick.
The prob is i can only get it to return the dns and ip, how can i get the .nick to work?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Note that for the below to work, $nick needs to be valid (in other words, put this in an event that gives $nick). Otherwise, replace $nick with whatever will give a valid nick such as a variable name or a token such as $2 or write the actual nick in there.

//echo -a $gettok($address($nick,5),1,33)


Invision Support
#Invision on irc.irchighway.net
Joined: Aug 2005
Posts: 128
S
Vogon poet
Offline
Vogon poet
S
Joined: Aug 2005
Posts: 128
Quote:
hi
Im trying to retrive a users nick from its address and i found $dns().nick.
The prob is i can only get it to return the dns and ip, how can i get the .nick to work?

The .nick works only if dns was called with a nick, like /dns stefys. Else .nick won't work


Link Copied to Clipboard