# Question about a setup

**URL:** <https://forum.choiceofgames.com/t/question-about-a-setup/46365>\
**Category:** ChoiceScript Help\
**Created:** [November 19, 2018, 5:12am UTC](https://forum.choiceofgames.com/t/question-about-a-setup/46365 "2018-11-19T05:12:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kashidol](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kashidol/32/96765_2.png) [@kashidol](https://forum.choiceofgames.com/u/kashidol)\
**Post date:** [November 19, 2018, 5:12am UTC](https://forum.choiceofgames.com/t/question-about-a-setup/46365/1 "2018-11-19T05:12:39Z")

</div>

Ok I was trying to make my code look like this

```
 text power 

```

in my stats screen and I was thinking I could set mine up like this

```
*create power""

```

```
*set power to earth

```

However I was stupid enough to think it would work so does anyone know how to do this?

---

<div class="post-metadata">

**Author:** ![MeltingPenguins](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/meltingpenguins/32/255855_2.png) [@MeltingPenguins](https://forum.choiceofgames.com/u/MeltingPenguins)\
**Post date:** [November 19, 2018, 5:18am UTC](https://forum.choiceofgames.com/t/question-about-a-setup/46365/2 "2018-11-19T05:18:59Z")

</div>

Hello.

\*creates all go into the startup, between author/title and achievements

```
*create power ""

```

\*sets would look like this

```
*set power "earth"

```

you could take a look at other games’ code if you like (the tutorial on the mainpage here provides some files, and for other games:  
go to the respective game and add /scenes/startup.txt , /scenes/choicescript\_stats.txt etc behind the gamename.

like this:  
[https://www.choiceofgames.com/mysteries-of-baroque/scenes/startup.txt](https://www.choiceofgames.com/mysteries-of-baroque/scenes/startup.txt)

[https://www.choiceofgames.com/blood-money/scenes/choicescript\_stats.txt](https://www.choiceofgames.com/blood-money/scenes/choicescript_stats.txt)

---

<div class="post-metadata">

**Author:** ![zenovarse](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/zenovarse/32/76740_2.png) [@zenovarse](https://forum.choiceofgames.com/u/zenovarse)\
**Post date:** [November 20, 2018, 10:32pm UTC](https://forum.choiceofgames.com/t/question-about-a-setup/46365/3 "2018-11-20T22:32:03Z")

</div>

First bit I think you mean to display the text, the shorthand method is usually preferred

```
${power}

```

Second part you’re missing a space, it is also good to have default values.

```
*create power "fire"

```

Third part you need a string literal, not a variable. You’re missing the "

```
*set power "earth"

```

Also, the values of string variables are usually lower case which you did in case when first letter doesn’t have to be capitalized.

```
*set power "earth"

*comment displays "Earth"
$!{power}

*comment displays "You can manipulate earth"
${power}

```
