Script to disable interface when there is no traffic

Friends, I need a script to disable an interface of my RB when it has no traffic. and after a few seconds that interface is re-enabled. Thank you for your cooperation.

Can anybody help me?

Have a look overhere: https://mikrotik.com/consultants

Maybe this can help:
http://forum.mikrotik.com/t/disable-interface-after-a-certain-amount-of-data-transferred/95394/1