mIRC Homepage

Event trigger for "Unable to connect" in DCC Chat

Posted By: puterfixer

Event trigger for "Unable to connect" in DCC Chat - 03/01/05 02:02 PM

I'm looking for a way to detect "Unable to connect" error message when someone sends a DCC Chat request to me and my mIRC attempts to establish the connection but fails. There seems to be a trigger for DCC file sending/receving (ON FILESENT/FILERCVD/SENDFAIL/GETFAIL) but not for DCC Chats. Any ideas to implement this, please? Thanks in advance.
Posted By: billythekid

Re: Event trigger for "Unable to connect" in DCC C - 03/01/05 02:09 PM

/help on dccserver might help you out here not sure if it can see a failure though
Posted By: billythekid

Re: Event trigger for "Unable to connect" in DCC C - 03/01/05 02:09 PM

you could always try an on notice event too
Posted By: puterfixer

Re: Event trigger for "Unable to connect" in DCC C - 03/01/05 02:15 PM

Neither of these will work for connection failure. After years of helping with mIRC on Undernet I pretty much know the contents of the help file and the available triggers wink I was thinking about monitoring the status of the TCP socket used by mIRC to initiate the DCC Chat...
Posted By: SladeKraven

Re: Event trigger for "Unable to connect" in DCC C - 03/01/05 02:20 PM

mmm. Would On Error work?
Posted By: puterfixer

Re: Event trigger for "Unable to connect" in DCC C - 03/01/05 02:34 PM

Unfortunately, no.
Quote:
The on ERROR event triggers when an IRC Server sends an ERROR message.

The "Unable to connect" error message is displayed by mIRC, not received from the IRC server.
© 2021 mIRC Discussion Forums