- Topics: 17
- Replies: 899
- Posts: 916
The script is fine – I just typed it in and it works. I suspect that there is a hidden character in there somewhere. Usually this can happen if a part of the script has been pasted in. I know it is annoying, but can you please try creating a new script and typing that out again?
Another solution is to use Notepad as a go-between. Paste the script into Notepad, then copy it again. The reason for this is that Notepad strips out all hidden characters.
All the best