Ok, Thanks for all the replies, I thought that there would be a fairly straightforward script I could have used for this as sadly the programming is way over my head. However I showed this thread to a freind and taking some of the advice on here managed to do it fo me smile.

Thanks for taking the time to reply, even though I now know that it was not really an IRC question.

Paul