# Need help with the Stats Screen

**URL:** <https://forum.choiceofgames.com/t/need-help-with-the-stats-screen/23509>\
**Category:** ChoiceScript Help\
**Created:** [January 24, 2017, 4:17am UTC](https://forum.choiceofgames.com/t/need-help-with-the-stats-screen/23509 "2017-01-24T04:17:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon14696210](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@anon14696210](https://forum.choiceofgames.com/u/anon14696210)\
**Post date:** [January 24, 2017, 4:17am UTC](https://forum.choiceofgames.com/t/need-help-with-the-stats-screen/23509/1 "2017-01-24T04:17:50Z")

</div>

Right now, the beginning of my Stats Screen looks like this:

> \*stat\_chart  
> text Name  
> text Gender  
> text hair\_color Hair Color  
> text eye\_color Eye Color

It works just fine, but I’d like it to form a nice little sentence instead of a text list. For example, if the player has chosen that he’s a male with the name Victor and black hair and gray eyes, it would look like on this on the Stats Screen:

> You’re a 16 year old boy named Victor with black hair and gray eyes.

Is this possible?

---

<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:** [January 24, 2017, 4:23am UTC](https://forum.choiceofgames.com/t/need-help-with-the-stats-screen/23509/2 "2017-01-24T04:23:40Z")

</div>

You are a {age} year old {gender} named {name} with {hair\_color} hair and ${eye\_color} eyes.

I did a basic tutorial on this. [https://www.dropbox.com/s/vlhshjgo4psrv3t/tutorial.txt](https://www.dropbox.com/s/vlhshjgo4psrv3t/tutorial.txt)

---

<div class="post-metadata">

**Author:** ![anon14696210](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@anon14696210](https://forum.choiceofgames.com/u/anon14696210)\
**Post date:** [January 24, 2017, 5:15am UTC](https://forum.choiceofgames.com/t/need-help-with-the-stats-screen/23509/3 "2017-01-24T05:15:03Z")

</div>

Thank you, but I’ve done exactly that, but it just shows this Error screen:

> choicescript\_stats line 2: invalid line; this line should start with ‘percent’, ‘text’, or ‘opposed\_pair’

What exactly am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [January 24, 2017, 5:20am UTC](https://forum.choiceofgames.com/t/need-help-with-the-stats-screen/23509/4 "2017-01-24T05:20:17Z")

</div>

Maybe you put @FairyGodfeather’s code inside the `*stat_chart`  
You should put it on independent line for the code to work.

---

<div class="post-metadata">

**Author:** ![RETowers](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/retowers/32/21477_2.png) [@RETowers](https://forum.choiceofgames.com/u/RETowers)\
**Post date:** [January 24, 2017, 4:21pm UTC](https://forum.choiceofgames.com/t/need-help-with-the-stats-screen/23509/5 "2017-01-24T16:21:22Z")

</div>

As @Szaal said, don’t put it in a `*stat_chart`. All the stats screen does is tell the game that it’s the scene the game should display (starting from the top) when the stats button is clicked. There’s nothing else special about it. Other than it being accessed slightly differently, it works the same as any other scene.

---

<div class="post-metadata">

**Author:** ![anon14696210](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@anon14696210](https://forum.choiceofgames.com/u/anon14696210)\
**Post date:** [January 25, 2017, 3:17am UTC](https://forum.choiceofgames.com/t/need-help-with-the-stats-screen/23509/6 "2017-01-25T03:17:10Z")

</div>

Ohhh wow, okay! Can’t believe it was that simple.  
Thank you all! 🙂
