# Choicescript not accepting input

**URL:** <https://forum.choiceofgames.com/t/choicescript-not-accepting-input/8315>\
**Category:** ChoiceScript Help\
**Created:** [March 25, 2015, 5:14am UTC](https://forum.choiceofgames.com/t/choicescript-not-accepting-input/8315 "2015-03-25T05:14:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![WakeBoarder](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/wakeboarder/32/5831_2.png) [@WakeBoarder](https://forum.choiceofgames.com/u/WakeBoarder)\
**Post date:** [March 25, 2015, 5:14am UTC](https://forum.choiceofgames.com/t/choicescript-not-accepting-input/8315/1 "2015-03-25T05:14:50Z")

</div>

![](https://global.discourse-cdn.com/choiceofgames/original/2X/9/9ed2d82f2fb0684994306ed2dc7bd37051e4d6a8.png)

I’m not sure what I am doing wrong, Error: test line 7: it is illegal to fall out of \*choice\_statement; you must \*goto or \*finish before the end of the indented block  
Please forgive my beginner ways 😄

---

<div class="post-metadata">

**Author:** ![Pangolin](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/pangolin/32/3447_2.png) [@Pangolin](https://forum.choiceofgames.com/u/Pangolin)\
**Post date:** [March 25, 2015, 5:27am UTC](https://forum.choiceofgames.com/t/choicescript-not-accepting-input/8315/2 "2015-03-25T05:27:49Z")

</div>

You forgot to put a \*choice command before the hiding options underneath #That’s not any better!

---

<div class="post-metadata">

**Author:** ![FairyGodfeather](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fairygodfeather/32/16709_2.png) [@FairyGodfeather](https://forum.choiceofgames.com/u/FairyGodfeather)\
**Post date:** [March 25, 2015, 5:28am UTC](https://forum.choiceofgames.com/t/choicescript-not-accepting-input/8315/3 "2015-03-25T05:28:05Z")

</div>

If you are using choice you need a goto or finish after every single option, not just the last. So after naive and gas.

---

<div class="post-metadata">

**Author:** ![FairyGodfeather](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fairygodfeather/32/16709_2.png) [@FairyGodfeather](https://forum.choiceofgames.com/u/FairyGodfeather)\
**Post date:** [March 25, 2015, 5:50am UTC](https://forum.choiceofgames.com/t/choicescript-not-accepting-input/8315/5 "2015-03-25T05:50:14Z")

</div>

When using the \*choice command you must have \*finish or \*goto after each option so it knows where to go. So

```
*choice
    #Choice A
        A thing happens
       *goto nextthing
    #Choice B
        B thing happens
       *finish

```

See [Choice | ChoiceScript Wiki | Fandom](http://choicescriptdev.wikia.com/wiki/Choice) for further information

> For any #option to be considered valid it must ultimately end in either a \*finish, \*goto, \*goto\_scene or \*ending command, and before the next #option in the list. However, it matters not whether this takes place immediately (as in the simple example above) or much later within your extended scripting for that particular #option.

You can get around this somewhat using the \*fake\_choice command. [Fake choice | ChoiceScript Wiki | Fandom](http://choicescriptdev.wikia.com/wiki/Fake_choice)

---

<div class="post-metadata">

**Author:** ![WakeBoarder](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/wakeboarder/32/5831_2.png) [@WakeBoarder](https://forum.choiceofgames.com/u/WakeBoarder)\
**Post date:** [March 25, 2015, 5:59am UTC](https://forum.choiceofgames.com/t/choicescript-not-accepting-input/8315/6 "2015-03-25T05:59:35Z")

</div>

Thank you that scene I had above was just for practice. I got it working 🙂 maybe I’ll write a story (not sure if I have the patience to do so but it is fun 😄 )
