Wifi scanner script

hi
i’m not expert in mikrotik and desperately need some help!!
i have a network with naughty users which driving me crazy all the time!
i have set up users with internet access each with their own queue and it’s working fine! the problem is these users sharing their network with unauthorized personal using “connectify program” which makes my boss really pissed off! so i have to login to mikrotik and use scan wifi to see if there is a network with the mac address i provided internet to , then i disable it! this really hard in rushing hours! so i’m thinking of a script which would do this steps for me:
1-starts scanning wifi and checks if there is any AP with MAC address specified in wifi Registered sections
2-disables scanning so AP continues to work
3-disables discovered MAC address
4-saves time and MAC and SSID of discovered user in Violated.txt file
it would be nice if whole process repeated every hour! (seriously disconnecting users from AP while scanning is not an issue!!)