mIRC Home    About    Download    Register    News    Help

Print Thread
#170682 12/02/07 09:30 PM
Joined: Mar 2006
Posts: 25
T
tekano Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Mar 2006
Posts: 25
I was wondering a very small thing.
We all know that you can use $address($nick,2) to find someone's host when using kick/whois/whatever scripts (example: *!*@bla.com can be JohnnyEnglish39's host)

Is there a way to reverse this situation?
That when someone lists an address (example: !lookup *!*@bla.com) it returns a nick (example: JohnnyEnglish39)

Joined: Mar 2006
Posts: 25
T
tekano Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Mar 2006
Posts: 25
I already found the answer.

$ial($2,1).nick

does the trick smile where $2 is the address entered.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Just as a note... the IAL needs to be updated prior to using it or it will not always work properly.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard