mIRC Home    About    Download    Register    News    Help

Print Thread
Server #192610 06/01/08 02:48 AM
Joined: Aug 2007
Posts: 10
Z
ZijnLiefde Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Aug 2007
Posts: 10
Im on a Network with many servers

if im one irc.network1.com

and someone else is on irc.network2.net

how do i get a var to get a users server they are on in the network

so i can do a command it would enter irc.network2.net into the var

Re: Server [Re: ZijnLiefde] #192612 06/01/08 03:41 AM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
I dont understand exactly what you want.

Check out /scon and /scid ($scon $scid). They allow you to manage different connections.


Re: Server [Re: DJ_Sol] #192613 06/01/08 03:45 AM
Joined: Aug 2007
Posts: 10
Z
ZijnLiefde Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Aug 2007
Posts: 10
if im on a network

but i want to check a server that a user is on
a different server on the same network that im on
i just want to put their server address into a varable

irc.network.com
----
server1.network.com
server2.network.com
server3.network.com

say im on server1

Joe is on server3.network.com

i want to make a varaiable that will put server3.network.com on it

Re: Server [Re: ZijnLiefde] #192616 06/01/08 04:20 AM
Joined: Aug 2007
Posts: 10
Z
ZijnLiefde Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Aug 2007
Posts: 10
there is also a raw

312 RPL_WHOISSERVER
"<nick> <server> :<server info>"

but i cant figure out how to get it working

Re: Server [Re: ZijnLiefde] #192620 06/01/08 04:43 AM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
That raw is returned from a /whois <nick> request.

Code:

RAW 312:*:echo -ta $2 is on server $3



-genius_at_work

Re: Server [Re: genius_at_work] #192621 06/01/08 04:46 AM
Joined: Aug 2007
Posts: 10
Z
ZijnLiefde Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Aug 2007
Posts: 10
Thank you that works great smile

Last edited by ZijnLiefde; 06/01/08 04:48 AM.