When I try to run the OSL color script I get an 'Invalid Syntax' error. I've copied and pasted directly and double checke...

When I try to run the OSL color script I get an 'Invalid Syntax' error. I've copied and pasted directly and double checked - any ideas what's wrong?
  • Jonathan Lampel replied

    You don’t need to click on Run in order for the OSL script to work, instead just load it through the node editor. It’s throwing a syntax error because the text editor is expecting a Python script, and hitting Run Script will try to execute it using Python.Â