It is almost impossible for us to help you with a specific script - there are hundreds, if not thousands, and they all have their own commands and features. Speak to the author of OmenServe, or check out their website. If you don't know it, search Google.
Be aware, mIRC is not a file trading program, it's a chat program. As far as I know, mIRC (default) does not count the number of DCCs you've had nor does it have any 'reset DCC' feature.