Need script for OSPF LSA detect IP conflict

Hi, anyone have script for detecting conflict IP in OSPF LSA table ?

If there are “same ID” with “different Originator”, I want Mikrotik send email to me.
This will be useful for OSPF network, so there will be no conflict IP in the network.