Auto close tickets

Does any one have scripts to auto close tickets and remind customers who
have not updated a ticket?

What we want to do is after 7 days notify the requestor that a ticket is
waiting for them to update if they do not they get an email that the case
will close in 3 days and then have RT just close the ticket and send a note
the ticket was closed due to lack of response.

Mark Fuller