I tried looking it up like five times, but Google always takes 'unexpected token' and finds things about 'unexpected token illegal,' which is not my problem.
Let's say I have a passage that says:
(set: $variable to false)(set: $othervariable to false)(set: $anothervariable to true)``Blah blah blah story stuff.``
Then I click Play because I need to check if something works...
Why would the "Unexpected Token True" error show up? I'm trying to solve a different problem and it's incredibly irritating to keep coming across this. I can't think of anything that I could have messed up.
Comments
Is your example the actual code that is resulting in that error on your machine? Because I tested it in both the 1.x and 2.x versions of Harlowe and it worked perfectly for me.
Which version of Twine 2 are you using?
Are you using the install-able release of Twine 2 or one of the web-browser (online, downloadable) based releases?
As greyelf said, there doesn't appear to be anything wrong with the code you've provided; are you sure it's the same code that raised the error? If not, please copy and paste that code over so we can take a look at it. And do post the version number of the story format you're using.