# Neither true nor false Error

**URL:** <https://forum.choiceofgames.com/t/neither-true-nor-false-error/2543>\
**Category:** ChoiceScript Help\
**Created:** [July 12, 2014, 6:15am UTC](https://forum.choiceofgames.com/t/neither-true-nor-false-error/2543 "2014-07-12T06:15:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucid](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lucid/32/39775_2.png) [@Lucid](https://forum.choiceofgames.com/u/Lucid)\
**Post date:** [July 12, 2014, 6:15am UTC](https://forum.choiceofgames.com/t/neither-true-nor-false-error/2543/1 "2014-07-12T06:15:53Z")

</div>

This one seems tricky. Any suggestions on what can cause it?

---

<div class="post-metadata">

**Author:** ![fantom](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fantom/32/8537_2.png) [@fantom](https://forum.choiceofgames.com/u/fantom)\
**Post date:** [July 12, 2014, 6:37am UTC](https://forum.choiceofgames.com/t/neither-true-nor-false-error/2543/2 "2014-07-12T06:37:08Z")

</div>

@Lucid What’s the problem?

---

<div class="post-metadata">

**Author:** ![Lucid](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lucid/32/39775_2.png) [@Lucid](https://forum.choiceofgames.com/u/Lucid)\
**Post date:** [July 12, 2014, 7:25am UTC](https://forum.choiceofgames.com/t/neither-true-nor-false-error/2543/3 "2014-07-12T07:25:33Z")

</div>

Found it! I accidentally set a Boolean to an Integer value. 🙂

Tricky, because the error shows during the \*if and not the \*set
