Simple unrar script

I am not a programer so I need a litle help here.
On linux I have installed unrar.
What I need is a script which will unrar all rar files in folders and subfolders and subfolders of subfolders, then check this files which are unpacked and then delete this rar files if check is ok.
If someone can help me I will be very gratefull.

you need to check two things with unrar

  1. Get the list of files and size date etc ...
  2. How to unrar file

then just loop around check if the files are present or not ... Unfortunately I don't have unrar on my server.

I know that but unfortunaly It doesn't work.