# Create thing false, set thing true question

**URL:** <https://forum.choiceofgames.com/t/create-thing-false-set-thing-true-question/6824>\
**Category:** ChoiceScript Help\
**Created:** [January 14, 2015, 9:22am UTC](https://forum.choiceofgames.com/t/create-thing-false-set-thing-true-question/6824 "2015-01-14T09:22:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dark\_Jester](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dark_jester/32/7852_2.png) [@Dark\_Jester](https://forum.choiceofgames.com/u/Dark_Jester)\
**Post date:** [January 14, 2015, 9:22am UTC](https://forum.choiceofgames.com/t/create-thing-false-set-thing-true-question/6824/1 "2015-01-14T09:22:04Z")

</div>

So I created at the start of the page

\*create fist false

and later down the path I have

\*set fist true

Keep going and I get to a point where I put in

\*if fist true  
–\*goto\_scene nameofscene

It doesn’t go to the scene though. Instead it comes up with this message:

startup line 365: Invalid expression at char 9, expected OPERATOR, was: VAR [true]

What did I do wrong?

---

<div class="post-metadata">

**Author:** ![Pyromanci](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/pyromanci/32/2340_2.png) [@Pyromanci](https://forum.choiceofgames.com/u/Pyromanci)\
**Post date:** [January 14, 2015, 9:27am UTC](https://forum.choiceofgames.com/t/create-thing-false-set-thing-true-question/6824/2 "2015-01-14T09:27:05Z")

</div>

try \*if (fist = true)

---

<div class="post-metadata">

**Author:** ![Dark\_Jester](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dark_jester/32/7852_2.png) [@Dark\_Jester](https://forum.choiceofgames.com/u/Dark_Jester)\
**Post date:** [January 14, 2015, 9:31am UTC](https://forum.choiceofgames.com/t/create-thing-false-set-thing-true-question/6824/3 "2015-01-14T09:31:17Z")

</div>

@Pyromanci Thank you!

---

<div class="post-metadata">

**Author:** ![Havenstone](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/havenstone/32/198451_2.png) [@Havenstone](https://forum.choiceofgames.com/u/Havenstone)\
**Post date:** [January 14, 2015, 9:34am UTC](https://forum.choiceofgames.com/t/create-thing-false-set-thing-true-question/6824/4 "2015-01-14T09:34:46Z")

</div>

Other ways of coding that would also work:

\*if fist = true

\*if fist

\*if (fist)

And when you want something to be conditional on it being false, you can put:

\*if fist = false

or

\*if not(fist)
