Script format error?

Also, when posting scripts, post them as preformatted text. It helps speed up the troubleshooting process by others, see Wiki - how to post code on this forum .