Just refer to the thread above this if you want to see my first script.

EDIT:

Please remove, somehow it got double posted.

Probably since when I first tried posting the tread, I was not getting a response from Srl servers, so I went back and tried to post it again... 5 minutes later both are there.

Sorry, I guess I should be more patient. Could a mod please delete one of these.