Problem with Stats. Help!

Ok for some reason I can’t seem the get the gender stat set. It keeps saying variable exists but has no value.

Here’s my code.

This is a stats screen!
*create gender

text Gender

Then Startup

*create gender
Your driving down another dirt road. This has become your life now, driving. You never stop, except for food, gas, and rest. You’re not driving anywhere, its just that you can’t stay in one place. You never look back, but sometimes you think back.

This is one of those times.

Day after receiving driver’s liscense:
“Hold up a sec dad, I need to use the restroom”
#You head to the Men’s Restroom.
*set gender “Male”
#You head to the Women’s Restroom.
*set gender “Female”

And the My game

* Copyright 2010 by Dan Fabulich.
* Dan Fabulich licenses this file to you under the
* ChoiceScript License, Version 1.0 (the “License”); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
* See the License for the specific language governing
* permissions and limitations under the License.
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* either express or implied.

// Specify the list of scenes here, separated by commas, with no final comma

nav = new SceneNavigator([


// Specify the default starting stats here

stats = {
gender: “unknown”


// Specify the stats to use in debug mode

debugStats = {
gender: “unknown”

// or just use defaults
// debugStats = stats

If you use mygame.js, you don’t need to create the variable in your scene. Just set gender

*set gender “female”

In your choicescript_stats file use this code:

*stat_chart text name text gender

@JimD Thank you so much, oh and would you mind looking at my other post I need advice.

In most games, gender will be a binary. Therefore, you could also set male as a boolean, and change it to false if the reader decides to be female. Less chance of stupid typographical errors that way.