mIRC Homepage
Posted By: Voglea on CONNECTFAIL (help) - 10/01/11 01:54 PM
hey folks, anybody can help me? why on CONNECTFAIL doesn't works?

Screenshot: http://img508.imageshack.us/img508/8643/connectfail.png
Posted By: RusselB Re: on CONNECTFAIL (help) - 11/01/11 12:18 AM
How many times do you have it set to try to reconnect?
The screen-shot shows 19 attempts.
According to the help file
Quote:
The on CONNECTFAIL event uses the same as above and triggers when a connection attempt (including all retries) has failed.


I have bolded the part that I think might be relevant to your situation, though it's not bolded in the help file.
Posted By: DJ_Sol Re: on CONNECTFAIL (help) - 11/01/11 02:20 AM
But according to the code he shows and the help file text you gave, shouldn't there be text in the active window for each of these retries?

Is this a new event? I'm sure I would have utilized this had I had this option before.

Edit: Looking again at the image, what OS are you using? Is that Linux?
Posted By: RusselB Re: on CONNECTFAIL (help) - 11/01/11 02:50 AM
The code that he shows is straight forward, but the event only triggers after all of the retries have failed, not after each one. Thus the only way that he'd getting it triggered after each retry is if he had the number of retries set at 1, which is contradicted by the fact that the picture clearly shows (amongst others) a retry count of 19.
Posted By: Voglea Re: on CONNECTFAIL (help) - 11/01/11 06:28 AM
thanks RusselB.
Posted By: DJ_Sol Re: on CONNECTFAIL (help) - 12/01/11 10:22 PM
Oh ok that makes sense. I read it differently.
© mIRC Discussion Forums