Anywat to perform a auto-command when i recieved finish a DCC completion?

Eg. i would like to say /msg nick Thks for the file after DCC complete.