mIRC Homepage
Posted By: ZijnLiefde Server - 06/01/08 02:48 AM
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
Posted By: DJ_Sol Re: Server - 06/01/08 03:41 AM
I dont understand exactly what you want.

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

Posted By: ZijnLiefde Re: Server - 06/01/08 03:45 AM
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
Posted By: ZijnLiefde Re: Server - 06/01/08 04:20 AM
there is also a raw

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

but i cant figure out how to get it working
Posted By: genius_at_work Re: Server - 06/01/08 04:43 AM
That raw is returned from a /whois <nick> request.

Code:

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



-genius_at_work
Posted By: ZijnLiefde Re: Server - 06/01/08 04:46 AM
Thank you that works great smile
© mIRC Discussion Forums