# I'm really new and need help (Expected choice body)

**URL:** <https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460>\
**Category:** ChoiceScript Help\
**Created:** [April 4, 2017, 5:47pm UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460 "2017-04-04T17:47:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThatGuySam](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@ThatGuySam](https://forum.choiceofgames.com/u/ThatGuySam)\
**Post date:** [April 4, 2017, 5:47pm UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/1 "2017-04-04T17:47:16Z")

</div>

Hi there!! I literally started using ChoiceScript last night so I’m relatively new to all this…

I’ve created a bit of a story with no real problem, however ever since I coded a gender choice I keep getting an “Expected choice body” error which in reference to the following piece of code.

\*label bubble\_179353800  
\*choice  
#I am a guy. Dick and All.

```
    *Set gender "male"
    *set him "him"
    *set his "his"
    *set he "he"
    *set guy "guy"
    *set mr "mr"
    *set sir "sir"
    *set man "man"
    *goto bubble_179432032

#I am a women. Sans Dick and all.

    *Set gender "female"
    *set him "her"
    *set his "her"
    *set he "she"
    *set guy "lass"
    *set mr "mrs"
    *set sir "ma'm"
    *set man "woman"
    *goto bubble_179432032

```

Now, whenever I test the story… The Expected Choice Body error pops up at the same specific point.  
I don’t really know what to do so I was wondering if someone could help.  
Thank ye!! 🙂  
Sam

---

<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:** [April 4, 2017, 5:54pm UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/2 "2017-04-04T17:54:48Z")

</div>

After the \*choice  
Indent your #

E.G.

```
*choice
     #I like eggs
          Of course!
          *goto breakfast
     #I like pancakes
          Flap Jacky!
          *goto breakfast
```

---

<div class="post-metadata">

**Author:** ![ThatGuySam](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@ThatGuySam](https://forum.choiceofgames.com/u/ThatGuySam)\
**Post date:** [April 4, 2017, 5:59pm UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/3 "2017-04-04T17:59:49Z")

</div>

**That appears to be an error in me copying the code over to the forum. In Notepad++ it is already indented.**

Also, may I add… of all of the people to reply to my forum post, I’m so glad it is you!  
I am an absolutely massive fan of your work (especially the Lost Heir franchise), and I wish to be half the writer you are in the future!

---

<div class="post-metadata">

**Author:** ![Carlos.R](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/carlos.r/32/75837_2.png) [@Carlos.R](https://forum.choiceofgames.com/u/Carlos.R)\
**Post date:** [April 4, 2017, 8:00pm UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/4 "2017-04-04T20:00:52Z")

</div>

@ThatGuySam If Notepad++ is giving you errors when you paste it over, you could always try pasting it to just a normal text document first and then pasting it here?

Let’s say you had your code like this, would this work for you?

```
*label bubble_179353800
How do you see yourself?

*choice
 #I am a guy.
  *Set gender "male"
  *set him "him"
  *set his "his"
  *set he "he"
  *set guy "guy"
  *set mr "mr"
  *set sir "sir"
  *set man "man"
  *goto bubble_179432032

 #I am a woman.
  *Set gender "female"
  *set him "her"
  *set his "her"
  *set he "she"
  *set guy "lass"
  *set mr "mrs"
  *set sir "ma'am"
  *set man "woman"
  *goto bubble_179432032

```

---

<div class="post-metadata">

**Author:** ![Bjorked](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/bjorked/32/25970_2.png) [@Bjorked](https://forum.choiceofgames.com/u/Bjorked)\
**Post date:** [April 4, 2017, 8:44pm UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/5 "2017-04-04T20:44:34Z")

</div>

If you want to post code with exact spacing/ indentation, use the \</\> button in the ribbon along the top of the mini-window when you post. That should maintain exactly what you have… Good luck with the game! 😉

---

<div class="post-metadata">

**Author:** ![ThatGuySam](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@ThatGuySam](https://forum.choiceofgames.com/u/ThatGuySam)\
**Post date:** [April 4, 2017, 9:55pm UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/6 "2017-04-04T21:55:55Z")

</div>

I think I have been really stupid… I was looking at the wrong piece of code ☹  
It says Line 324 is the mistake :\

 ![](https://global.discourse-cdn.com/choiceofgames/original/3X/2/6/26273788f515a09fcec8638b4d80921c35fb1b03.png)

Also, Bjorked, I am confused at which ribbon you mean :\

I’m not the most intelligent as you can tell 😉

---

<div class="post-metadata">

**Author:** ![Carlos.R](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/carlos.r/32/75837_2.png) [@Carlos.R](https://forum.choiceofgames.com/u/Carlos.R)\
**Post date:** [April 4, 2017, 10:02pm UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/7 "2017-04-04T22:02:32Z")

</div>

Line 324 is messed up only because of line 320.  
Line 320 has a choice, but you didn’t tell the game to do anything when the player picks that choice.  
That’s why the game is telling you that it’s expecting a choice body.  
Does this help?

---

<div class="post-metadata">

**Author:** ![Bjorked](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/bjorked/32/25970_2.png) [@Bjorked](https://forum.choiceofgames.com/u/Bjorked)\
**Post date:** [April 5, 2017, 3:39am UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/8 "2017-04-05T03:39:13Z")

</div>

Okay, so when you start a reply to someone or a new post, there is a window that opens/ pops up in the bottom part of your screen. On that pop up is a part that says who you are sending it to. Right below that is what I call a ribbon. It’s just a sectioned-off part of that window/ pop-up.  
I’ll point to it in this screenshot:

 ![](https://global.discourse-cdn.com/choiceofgames/original/3X/8/f/8f0d8f05b79ed1659e9849a4a0cea68ffd857100.png)  
See that square that’s darker grey? That is the button I was talking about on the ribbon. 😉  
I hope that made more sense…

---

<div class="post-metadata">

**Author:** ![ThatGuySam](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@ThatGuySam](https://forum.choiceofgames.com/u/ThatGuySam)\
**Post date:** [April 5, 2017, 9:44am UTC](https://forum.choiceofgames.com/t/im-really-new-and-need-help-expected-choice-body/25460/9 "2017-04-05T09:44:55Z")

</div>

Thank you!! I don’t know how I didn’t see that error Carlos :\ Thank you again! 🙂

The error has gone, however the other option in the choice is now missing??

Thanks Bjorked, I get what you mean now 🙂
