mIRC Home    About    Download    Register    News    Help

Print Thread
#126631 02/08/05 07:35 PM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
I found this and was wondering how to put in a whois.

Code:
on *:JOIN:#:{  var %token = $gettok($address($nick,3),0,46)  var %code = $gettok($address($nick,3),%token,46)  echo -a $nick might be from $read(countrycode.txt,w,%code)}  


I would like to have the whois show the country of the person i'm doing the whois on.

thank you for helping

Greetzz

#126632 02/08/05 07:42 PM
Joined: Jul 2005
Posts: 51
P
Babel fish
Offline
Babel fish
P
Joined: Jul 2005
Posts: 51
You can only do this when you have a valid country code in the address like .lb or .se or whatever.

otherwise, you will need to write a socket script smile


chadchoud @ DALnet
#126633 02/08/05 11:39 PM
Joined: May 2005
Posts: 79
M
Babel fish
Offline
Babel fish
M
Joined: May 2005
Posts: 79
I know a load of replies might end up here, but i've just got in, message me on msn tomorrow, and i'll show you how i do it, as i use the same type of thing.


Link Copied to Clipboard