mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 22
D
Drake Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2003
Posts: 22
ok, this is confusing myself, so I'll explain it as best I can

I have 2 servers, both with ssl

now, I want the connection procedure to go something like this:

/connect server1 port +9940
*cant connect, so the following happens*
/connect server2 port +9940
*cant connect, so the following happens*
/connect server1 port 6667
*cant connect, so the following happens*
/connect server2 port 6667

The idea behind this, is that I try to connect using ssl to the first server, cant connect, so I try the second server, cant connect, so i switch to an unencrypted port and try both servers again.

I'm guessing I'll need to include timers, connection checks etc, but Ive zero idea where to start with this

any help would be greatly appreciated

**Note to mods: I wasnt sure if this should go on scripting or connection issues board. If i posted wrongly go ahead and move it

thank you

Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
i think mirc has a built in function that has it move to the next server in the group when it cant connect so you could arrange those properly and get the desired result
im sure someone will come along and help you with a code as well

and the place to start /help

Last edited by ricky_knuckles; 06/03/05 04:47 AM.

The Kodokan will move you, one way or another.
Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
Please read this page.

Note that the correct syntax is: /server -e <server> <[+]port>.

Check out the /help file in the following categories:

/help on CONNECT
/help on CONNECTFAIL


- Relinsquish

Link Copied to Clipboard