I know how to send and receive files with mIRC.
When I receive a file, a box is being opened, and I have the ability to cancel the transfer.
I know that mIRC has "on getfail" that can be used in scripts. The only problem is that it doesn't distinguish between a problem with the transfer, because of connection problem, and between transfer cancel.

I want that if the transfer fails it will write: "ERROR Getting file!!!!", and when I cancel the transfer it will write: "You have canceled the transfer"

How can it be done??

Thanks.