Adding IP addresses from ARP table to address list

Sorry for a noob question but scripting is my kryptonite. I am to write a script that will find entries in the ARP table that have a common OUI address. I then want to add the IP address variable for each ARP table match to the firewall address-list.

http://forum.mikrotik.com/t/scripting-ideas/96194/6