mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
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
Fjord artisan
Offline
Fjord artisan
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
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
you could always try an on notice event too


billythekid
Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
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,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
mmm. Would On Error work?

Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
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