Invalid expression

I’m having trouble with an Invalid Expression. I’m not sure what is causing this as it’s just the letter t.

The error I’m getting is: Error: chapter2security line 1: Invalid expression at char 2, expected NUMBER, STRING, VAR or PARENTHETICAL, was: EQUALITY [=]

My code looks like this:

*temp Radcliffe_complaint = false
*temp Vokos_complaint = false
*temp Helped_Minuit = false
*temp KnowHelpHeros = false
*temp SalviEnhanced = false

I’m not sure if I’ve used the *temp incorrectly or something as I’ve used it successfully in the previous chapter. I do apologize if this has been asked before, I wasn’t able to find too similar with a google search or a search of the forum.

Cheers and thanks in advance for any assistance!

Don’t use = with *create or *temp.

Just

*temp stat false

4 Likes

You don’t need the =
So instead of
*temp Radcliffe_complaint = false
use
*temp Radcliffe_complaint false

4 Likes

Thank you so much. I hadn’t even noticed that I’d not used an = back when I first used *temp in chapter 1. I’d been staring at both instances of *temp in both chapters and couldn’t spot a difference. Guess I just needed an outside eye, thank you so much again!

2 Likes

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.