mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 417
O
Othello Offline OP
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
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.




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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


D3m0nnet.com
Joined: Dec 2002
Posts: 417
O
Othello Offline OP
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
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.




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Joined: Oct 2003
Posts: 50
T
Babel fish
Offline
Babel fish
T
Joined: Oct 2003
Posts: 50
/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,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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


D3m0nnet.com
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Dec 2002
Posts: 417
O
Othello Offline OP
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
BUMMER!!!!




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard