mIRC Home    About    Download    Register    News    Help

Print Thread
#137414 12/12/05 05:46 PM
Joined: Dec 2005
Posts: 1
S
ShayneJ Offline OP
Mostly harmless
OP Offline
Mostly harmless
S
Joined: Dec 2005
Posts: 1
The mIRC help file says that the ON CONNECTFAIL event will display information about a failed connection (even retries).

"The on CONNECTFAIL event uses the same as above and triggers when a connection attempt (including all retries) has failed. $1- is set to the connect error message."

But I have found that it doesn't. The event does however initialize after the server tries have exceeded whats set in the configuration.

Example:
[04:10:47am] * Connect retry #13 not.a.server (6667)
-
[04:10:49am] * Unable to resolve server
-
[04:10:52am] * Connect retry #14 not.a.server (6667)
-
[04:10:55am] * Unable to resolve server
-
[04:10:58am] * Connect retry #15 not.a.server (6667)
-
[04:11:00am] * Unable to resolve server
[04:11:01am] on CONNECTFAIL has been initialized.


Just thought that you should know about this problem. I am using mIRC 6.16

#137415 12/12/05 05:51 PM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
The event occurs after ALL of the retries have occurred.

"when a connection attempt (including all retries) has failed"

-genius_at_work

#137416 12/12/05 10:25 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
And this is whats confused him, the wording in the help isnt the greatest.
I would have had it say "triggers after a connection attempt and all the retries have failed."
Means the same but is less liktly to be read as occuring after each connection attempt you get a triggering. of the event, including the 99 retries you might have sent, giving youi 100 events.

#137417 12/12/05 10:43 PM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
I agree the wording could be improved. Maybe something like:

"This event only occurs after the last retry has failed on a connection attempt."

* The underlined word could link to /help retry connection

-genius_at_work


Link Copied to Clipboard