# What is the command used?

**URL:** <https://forum.choiceofgames.com/t/what-is-the-command-used/1813>\
**Category:** Affairs of the Court\
**Created:** [October 17, 2013, 10:45pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813 "2013-10-17T22:45:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChoiceofManning](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/choiceofmanning/32/1013_2.png) [@ChoiceofManning](https://forum.choiceofgames.com/u/ChoiceofManning)\
**Post date:** [October 17, 2013, 10:45pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/1 "2013-10-17T22:45:29Z")

</div>

What do u use if you want to input a text that pertains to an earlier choice.

Like if u chose single instead of relationship  
And tge mc wants to say if their single or not?

---

<div class="post-metadata">

**Author:** ![Samuel\_H\_Young](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samuel_h_young/32/275765_2.png) [@Samuel\_H\_Young](https://forum.choiceofgames.com/u/Samuel_H_Young)\
**Post date:** [October 17, 2013, 11:10pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/2 "2013-10-17T23:10:09Z")

</div>

you would use

\*create single false

in the startup.txt scene, and then when they chose that they’re single, put

\*set single true

and then when they want to say they’re single, use

```

*if single
	I'm single

```

---

<div class="post-metadata">

**Author:** ![Prototype](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@Prototype](https://forum.choiceofgames.com/u/Prototype)\
**Post date:** [October 18, 2013, 5:04pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/3 "2013-10-18T17:04:22Z")

</div>

i thought it was

```
 *if single= true
             I'm single 

```

but i am not sure i haven’t codded in so long

---

<div class="post-metadata">

**Author:** ![MaraJade](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/marajade/32/835_2.png) [@MaraJade](https://forum.choiceofgames.com/u/MaraJade)\
**Post date:** [October 18, 2013, 5:08pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/4 "2013-10-18T17:08:43Z")

</div>

```

*if single
    I'm single
*if (single =true)
    I'm single

```

Are exactly same, due volean only work if is true you can’t use if (single =false) that is a error.

---

<div class="post-metadata">

**Author:** ![Prototype](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@Prototype](https://forum.choiceofgames.com/u/Prototype)\
**Post date:** [October 18, 2013, 5:35pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/5 "2013-10-18T17:35:17Z")

</div>

oh OK yeah but i learned it to stat if true but guess thats an esier way thnx @Marajade

---

<div class="post-metadata">

**Author:** ![CJW](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cjw/32/111787_2.png) [@CJW](https://forum.choiceofgames.com/u/CJW)\
**Post date:** [October 18, 2013, 6:03pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/6 "2013-10-18T18:03:37Z")

</div>

@Marajade  
Variable comparison to a false boolean value, i.e: “if (var = false)” works just fine.

---

<div class="post-metadata">

**Author:** ![MaraJade](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/marajade/32/835_2.png) [@MaraJade](https://forum.choiceofgames.com/u/MaraJade)\
**Post date:** [October 18, 2013, 6:33pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/7 "2013-10-18T18:33:08Z")

</div>

@CJW well i always get error when i tryed when i was learning. something value wasnt fixed each time, so it works glad to known it, i was used the numeric when i wanted use a false.

---

<div class="post-metadata">

**Author:** ![P\_Tigras](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/p_tigras/32/626_2.png) [@P\_Tigras](https://forum.choiceofgames.com/u/P_Tigras)\
**Post date:** [October 18, 2013, 11:24pm UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/8 "2013-10-18T23:24:13Z")

</div>

@CJW is right.

BTW, for those who like using:

```
*if single
   I'm single

```

the following also works:

```
*if not(single)
   I'm not single

```

---

<div class="post-metadata">

**Author:** ![CJW](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cjw/32/111787_2.png) [@CJW](https://forum.choiceofgames.com/u/CJW)\
**Post date:** [October 20, 2013, 8:08am UTC](https://forum.choiceofgames.com/t/what-is-the-command-used/1813/9 "2013-10-20T08:08:41Z")

</div>

@P_Tigras  
I’ve found that not doesn’t always seem to work correctly.  
For e.g.:

```

*temp myvar false
*fake_choice
 *selectable_if not(myvar) #1
 #2
 #3

```

We should (per logic) be able to select option #1 - but we can’t.  
If you replace not(myvar) with (myvar != true) it works just fine.

I’m not sure if this is a bug or an oversight or what, but I tend to avoid using not because of behaviour like that.
