I've copied or wrote the script outside of the script editor and it does not work on the client.
There maybe times, that you want to save time, and copy or write a script outside of the Velocity script editor. Please take note that some programs will alter the Double quotes, ( "" ) to ( ““ ). This will affect the parsing of the script and render the script invalid. If you have run into this or suspect this is happening, go back into the script editor and retype those double quotes, save and deploy.
Settings.set("localEcho", "true"); Works
Settings.set("localEcho", “true”); Doesnt Work