Originally Posted By: maroon
You can check the value of $active. It's possible for there to be a false positive by someone happening to have the get window active when there was a comms failure, but that's not likely if the option is checked for automatically minimizing incoming dcc windows.


The above suggestion is a good one, however "not likely" is perhaps a little strong, and good programming does not rely on uncertainties.

Also I am unsure whether GETFAIL is triggered if the user clicks cancel on the Accept / Ignore / Cancel message box (which is not a mIRC window).