mIRC Home    About    Download    Register    News    Help

Print Thread
P
puterfixer
puterfixer
P
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.

Joined: Mar 2003
Posts: 612
B
Pan-dimensional mouse
Offline
Pan-dimensional mouse
B
Joined: Mar 2003
Posts: 612
/help on dccserver might help you out here not sure if it can see a failure though


billythekid
Joined: Mar 2003
Posts: 612
B
Pan-dimensional mouse
Offline
Pan-dimensional mouse
B
Joined: Mar 2003
Posts: 612
you could always try an on notice event too


billythekid
P
puterfixer
puterfixer
P
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...

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
mmm. Would On Error work?

P
puterfixer
puterfixer
P
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.


Link Copied to Clipboard