mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2003
Posts: 257
A
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
I need a way of returning the ip of every server connected to a network. I have a feeling it can't be done but I'd like to find some way of knowing the fastest server on the network to connect to. It would help on laggy networks like undernet and a little bit on smaller ones. Anyone know ?

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
Raw 364:*: { .dns $3  }

on 1:DNS: {
  if (!$raddress) { return }
  var %x = $dns(0)
  while (%x) {
    echo 3 -s $+($dns(%x),'s) IP is $raddress
    dec %x
  }
}



slimey.uk.eu.dal.net's IP is 194.68.45.50
rumble.fl.us.dal.net's IP is 194.14.236.50
redemption.ix.us.dal.net's IP is 194.68.45.50
powertech.no.eu.dal.net's IP is 195.159.0.91
novel.ix.us.dal.net's IP is 194.68.45.50
mozilla.se.eu.dal.net's IP is 194.68.45.50
mesra.kl.my.dal.net's IP is 61.6.39.100
matrix.de.eu.dal.net's IP is 195.50.191.14
masters.ix.us.dal.net's IP is 194.68.45.50
loyalty.ix.us.dal.net's IP is 194.68.45.50
jingo.ix.us.dal.net's IP is 194.68.45.50
jade.va.us.dal.net's IP is 194.14.236.50
irc.dal.net's IP is 194.68.45.50
hotspeed.sg.as.dal.net's IP is 194.68.45.50
hotspeed.sg.as.dal.net's IP is 194.68.45.50
broadway.ny.us.dal.net's IP is 194.68.45.50
arcor.de.eu.dal.net's IP is 195.50.191.12


I tried putting it inside a group but it wouldn't disable the group from Raw 365.

Hope that helps.

All the best.

-Andy.

Joined: Nov 2003
Posts: 257
A
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
That helps alot I'll work with this and see what I can do. Thanks alot for your help smile

Any idea how I change what order they appear in, it seems to be alphabetically right now.

Last edited by alkahol1k; 29/03/05 02:18 AM.

Link Copied to Clipboard