mIRC Home    About    Download    Register    News    Help

Print Thread
Event trigger for "Unable to connect" in DCC Chat #106742 03/01/05 02:02 PM
Joined: Dec 2002
Posts: 28
P
puterfixer Offline OP
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.

Re: Event trigger for "Unable to connect" in DCC C #106743 03/01/05 02:09 PM
Joined: Mar 2003
Posts: 612
B
billythekid Offline
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
Re: Event trigger for "Unable to connect" in DCC C #106744 03/01/05 02:09 PM
Joined: Mar 2003
Posts: 612
B
billythekid Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
you could always try an on notice event too


billythekid
Re: Event trigger for "Unable to connect" in DCC C #106745 03/01/05 02:15 PM
Joined: Dec 2002
Posts: 28
P
puterfixer Offline OP
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...

Re: Event trigger for "Unable to connect" in DCC C #106746 03/01/05 02:20 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
mmm. Would On Error work?

Re: Event trigger for "Unable to connect" in DCC C #106747 03/01/05 02:34 PM
Joined: Dec 2002
Posts: 28
P
puterfixer Offline OP
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.