Nice script lifetalk. Their's a few little things that could cause errors for people that you'll need to fix.

eg. if someone decides to have a rar file called:

The-Expendables-2010-besthostingforums.com.rar

you'll get errors as you have two dots in the rar name. You'll have to either run a check on the input or else rename it before unlink

That's one of the first things I noticed. I'll post more as I find them.