mIRC Homepage
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.
/help on dccserver might help you out here not sure if it can see a failure though
you could always try an on notice event too
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...
mmm. Would On Error work?
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.
© mIRC Discussion Forums