mass deleting posts that match creteria


on my forum that i bought recently, there are lot of double posts from the previous import( phpbb > vb) that was done by old owner. so i need a script to remove double posts. there possible creteria for deleting will be post with same timestamp,username, threadid and post text.

I also want to delete bump posts("bump", "ttt","top")

and yes, i ll pay for development.:)