Script for remove inactive mac address on ip dhcp lease.

I have the same question, because of a similar reason.
http://forum.mikrotik.com/t/hotspot-inactive-dhcp-leases-can-deplete-the-pool-of-adrs/48853/1