mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 416
O
Othello Offline OP
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 416
How would i finding what Server a nick is using?
I know $server(N/address) Returns the address
of the Nth server in your irc servers list.

$server(0) returns the total number of servers in the servers list
$server(2) returns the address of the 2nd server
$server(2).desc returns the description of the 2nd server
$server(3).port returns the port(s) of the 3rd server

$server gives me the server I am using but I want
to find out what server the other nick is using.

Joined: Dec 2002
Posts: 1,518
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,518
most times its provided in the /whois info on a user ... i dont think there is any other means of determining what server a user is connected to without doing that... once uve found that u could store it into variable/hashtable/text file and read from it for yur script....... without doing a whois on another nick to first get that info i dont think it is possible to detect it

Joined: Dec 2002
Posts: 416
O
Othello Offline OP
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 416
I know raw 312:*: is suppose to return the Server but I have noticed on the undernet it only returns the Undernet.org

raw 312:*:echo -s Server: $$3 | halt

On Dalnet this returns the Server the nick is using.

T
Tsunami
Tsunami
T
/who returns the server too, and it's number is 352, i think you can do the rest then smile

Joined: Dec 2002
Posts: 1,518
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,518
i believe hybrid ircd has some sort of masking feature blocking that information being sent in a whois. as ive also encountered that in rizon

Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
You are right.. as for quakenet you get *.quakenet.org as server.. and that cover all servers.. and i dont think you can get any more info about what server that user using..

Joined: Dec 2002
Posts: 416
O
Othello Offline OP
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 416
BUMMER!!!!

Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
They hide the servers for a reason, and one of the reasons is that users (script kiddies) using the info about the server to look what server to kill (DDOS), then they kill the server with most users on, and then they only have to kill 1 or 2 persons in the channel, and now we see a regular take over wink .. so if they making effort to hide the server address, then i dont think you will find any fast and simple way to get that info, the only way i guess is to ask the user..


Link Copied to Clipboard