Well something like
Eljay's reply to Looking would be just what you are after... if Eljay hadn't lost the code. I thought someone else made a script like this but I couldn't find anything in the database.
I personally think a feature like this would be great as well, but I know that I personally dont have the time to write such a thing (though I'm sure it wouldn't be too hard for some of the other people around here to write something either if they can find the time).