Grabbing DCC GET FAIL error message - 17/10/03 03:30 AM
I'm trying to get a script to react differently depending on how a DCC file fails to transfer. Generally you'll get one of these errors:
DCC Get of MyFile.txt from Bobby incomplete (00:03:28 0.49 KB/Sec)
If Bobby cancelled the transfer by accident, or your cat stepped on your keyboard...
OR
DCC Get of MyFile.txt from Bobby incomplete (unable to connect)
If you aren't able to establish a direct connection with Bobby.
I've found ways to monitor almost every incoming and outgoing message in all of mIRC EXCEPT this one. I tried the ON 1:ERROR:*unable to connect*:/commands
but that didn't trigger. Apparently mIRC doesn't consider this to be an error.
the on 1:GETFAIL:*:/commands triggers fine, but I've found no way to pluck that error message out to parse it. I can only issue commands for general GETFAILS.
Any suggestions?
DCC Get of MyFile.txt from Bobby incomplete (00:03:28 0.49 KB/Sec)
If Bobby cancelled the transfer by accident, or your cat stepped on your keyboard...
OR
DCC Get of MyFile.txt from Bobby incomplete (unable to connect)
If you aren't able to establish a direct connection with Bobby.
I've found ways to monitor almost every incoming and outgoing message in all of mIRC EXCEPT this one. I tried the ON 1:ERROR:*unable to connect*:/commands
but that didn't trigger. Apparently mIRC doesn't consider this to be an error.
the on 1:GETFAIL:*:/commands triggers fine, but I've found no way to pluck that error message out to parse it. I can only issue commands for general GETFAILS.
Any suggestions?