# Expected : and 'setStartingStatsClone'

**URL:** <https://forum.choiceofgames.com/t/expected-and-setstartingstatsclone/5804>\
**Category:** ChoiceScript Help\
**Created:** [November 6, 2014, 4:58pm UTC](https://forum.choiceofgames.com/t/expected-and-setstartingstatsclone/5804 "2014-11-06T16:58:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Temi56](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/temi56/32/39135_2.png) [@Temi56](https://forum.choiceofgames.com/u/Temi56)\
**Post date:** [November 6, 2014, 4:58pm UTC](https://forum.choiceofgames.com/t/expected-and-setstartingstatsclone/5804/1 "2014-11-06T16:58:00Z")

</div>

I’m trying to set up my choicescript and I keep getting :

Expected :

and

Unable to get property ‘setStartingStatsClone’ of undefined or null reference

I unblocked the file before use and i’m using IE, please help.

I assumed the problem is with the mygame.js so this is whats in it so far.

nav = new SceneNavigator([  
“startup”  
]);

stats = {  
first\_name:“none”  
,last\_name:“none”  
,gender:“none”  
,age:“none”  
,language:“Place Holder”  
,paci-roman: 0  
,vrolondian: 0  
,aleykran: 0  
,vulkaniyan: 0  
,nationality: “undetermined”  
,country: “Place Holder”  
,the\_republic\_of\_pacistien: 0  
,the\_draconic\_kingdom\_of\_vulkaniya: 0  
,the\_olden\_pact\_of\_alyekra: 0  
,the\_united\_provinces\_of\_vrolondia: 0  
,partners: “Place Holder”  
,stats: “Place Holder”  
,leadership: 0  
,strength: 0  
,speed: 0  
,intellegence: 0  
,stealth: 0  
,persuasion: 0  
,pious: 0  
,magic: “Place Holder”  
,dark\_magic: 0  
,white\_magic: 0  
,proffession: “Place Holder”  
,cleric\_type: 0  
,cleric\_type\_name: “none”  
,knight\_type: 0  
,knight\_type\_name: “none”  
,assassin\_type: 0  
,assassin\_type\_name:“none”  
,military ranks: “Place Holder”  
,army\_type: 0  
,army\_type\_name: “none”  
,honorary\_titles\_type: 0  
,honorary\_titles\_name: “none”  
};

debugStats ={  
first\_name:“none”  
,last\_name:“none”  
,gender:“none”  
,age:“none”  
,language:“Place Holder”  
,paci-roman: 0  
,vrolondian: 0  
,aleykran: 0  
,vulkaniyan: 0  
,nationality: “undetermined”  
,country: “Place Holder”  
,the\_republic\_of\_pacistien: 0  
,the\_draconic\_kingdom\_of\_vulkaniya: 0  
,the\_olden\_pact\_of\_alyekra: 0  
,the\_united\_provinces\_of\_vrolondia: 0  
,partners: “Place Holder”  
,stats: “Place Holder”  
,leadership: 0  
,strength: 0  
,speed: 0  
,intellegence: 0  
,stealth: 0  
,persuasion: 0  
,pious: 0  
,magic: “Place Holder”  
,dark\_magic: 0  
,white\_magic: 0  
,proffession: “Place Holder”  
,cleric\_type: 0  
,cleric\_type\_name: “none”  
,knight\_type: 0  
,knight\_type\_name: “none”  
,assassin\_type: 0  
,assassin\_type\_name:“none”  
,military ranks: “Place Holder”  
,army\_type: 0  
,army\_type\_name: “none”  
,honorary\_titles\_type: 0  
,honorary\_titles\_name: “none”  
};

---

<div class="post-metadata">

**Author:** ![Lordirish](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lordirish/32/238051_2.png) [@Lordirish](https://forum.choiceofgames.com/u/Lordirish)\
**Post date:** [November 6, 2014, 5:11pm UTC](https://forum.choiceofgames.com/t/expected-and-setstartingstatsclone/5804/2 "2014-11-06T17:11:07Z")

</div>

I would download a new copy, writing vars to the mygame.js is at times a headace if you miss code. It is recommended you write you vars at the top of the startup page.  
\*comment boolean  
\*create var\_name false

\*comment numeric  
\*create var\_name 0

\*comment string  
\*create var\_name “Something”
