# Stat\_chart help

**URL:** <https://forum.choiceofgames.com/t/stat-chart-help/22956>\
**Category:** ChoiceScript Help\
**Created:** [January 1, 2017, 1:31pm UTC](https://forum.choiceofgames.com/t/stat-chart-help/22956 "2017-01-01T13:31:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moosie](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/moosie/32/199260_2.png) [@Moosie](https://forum.choiceofgames.com/u/Moosie)\
**Post date:** [January 1, 2017, 1:31pm UTC](https://forum.choiceofgames.com/t/stat-chart-help/22956/1 "2017-01-01T13:31:55Z")

</div>

All I’m trying to do is get my name, age, and race in the stat\_chart but doesn’t show right unless I have them before the tag. The reason I’m trying to do this is so they can show up singlespaced and not like each is a new paragraph or side by side.  
 ![](https://global.discourse-cdn.com/choiceofgames/original/3X/b/0/b01574b0caf65948657111ea4bffc85abab18ba5.png) ![](https://global.discourse-cdn.com/choiceofgames/original/3X/a/6/a62459bdebcd3210ba70fed9ef321263d5e3044e.png)

Any suggestions? I’d rather not have to rename the name, age, and race tags.

---

<div class="post-metadata">

**Author:** ![daydreamsincolor](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/daydreamsincolor/32/82201_2.png) [@daydreamsincolor](https://forum.choiceofgames.com/u/daydreamsincolor)\
**Post date:** [January 1, 2017, 1:39pm UTC](https://forum.choiceofgames.com/t/stat-chart-help/22956/2 "2017-01-01T13:39:01Z")

</div>

Edit: Never mind, @Wraith is correct!

---

<div class="post-metadata">

**Author:** ![Wraith](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/wraith/32/241294_2.png) [@Wraith](https://forum.choiceofgames.com/u/Wraith)\
**Post date:** [January 1, 2017, 1:40pm UTC](https://forum.choiceofgames.com/t/stat-chart-help/22956/3 "2017-01-01T13:40:11Z")

</div>

You can do it like this:

```
*stat_chart
    text Name [b]Name[/b]
*if {heroname != "Unknown"}
    *stat_chart
        text heroname [b]Alias[/b]
*stat_chart
    text Gender [b]Gender[/b]
    text Origin1 [b]Origin[/b]
*if {ability != ""}
    *stat_chart
        text Ability [b]Ability[/b]

*if {{{Hero = true} or {Antihero = true}} or {Villain = true}}
    *stat_chart
        text money [b]Earnings[/b]

*if {{{origin = "Street"} or {origin = "Rich"}} or {origin = "Normal"}}

    *stat_chart
        opposed_pair Stealth
            Subtle
            Direct
        opposed_pair Intelligence
            Calculated
            Impulsive
        opposed_pair Social
            Persuasive
            Intimidating

*gosub Stress_Bar
*if {ability != ""}
    *stat_chart
        opposed_pair StressBar
            Stressed
            Relaxed
        percent Destructive
        opposed_pair ruthless
            Ruthless
            Mercy
        text danger [b]Danger-level[/b]

*if knows_Crow = true
    [b]Relationships[/b]

```

 ![](https://global.discourse-cdn.com/choiceofgames/original/3X/9/5/95aa9400b5e86105c5d7fc51595ead4bd45677e0.png)

`text heroname [b]Alias[/b]`  
Simply put the word how you want to name it _after_ the variable.  
In this case, the word ‘Alias’ will be written bolt in the Stat Screen and will be shown instead of ‘Heroname’, as the variable is named.

---

<div class="post-metadata">

**Author:** ![Moosie](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/moosie/32/199260_2.png) [@Moosie](https://forum.choiceofgames.com/u/Moosie)\
**Post date:** [January 1, 2017, 1:56pm UTC](https://forum.choiceofgames.com/t/stat-chart-help/22956/4 "2017-01-01T13:56:21Z")

</div>

@wrath Thanks! Choosing some of the code given I was able to have it fixed.
