I have a larger vb board I am about to convert to XF. Before I do, I want to clear some PMs. I actually want to do 2 things. 1. Delete all PMs from users who haven't visited the forum in 6 months or more; 2. Of the remaining users, I want to delete all pms in excess of 10 from each user. The idea being, no user will have more then 10 PMs in their box, and if they haven't been to the site in 6 months, they will have zero. So I'm looking for queries that will accomplish this. Could be vb queries or xf queries --- either works for me.