Also, what code would I need to add to the end of that to get it to say something to the channel, just so that person knows it has worked.

Sorry I'm very new to scripting.

Thanks