Code: Select all
$ sw = False
label start:
$ Cornelia_Points = 0
menu:
"Choose whether you want to show swearing"
"Enable swearing":
$ sw = True
"Swearing Enabled"
"Disable swearing":
$ h = "heck"
$ sh = "shiz"
"Swearing Disabled"
if sw == True:
"chicken is delicious"
scene black
"... [h]"I'm trying to give the user an option to enable or disable swearing. however when I try to embed the new variable name 'h' into narration via the brackets [], This message shows:

I don't know what it is. %()s and %()d ( as well as %()r) Do not work either and they give a message like: u'unbound> in the narration box. I don't know what has happened. Funny thing is, it worked earlier all of a sudden when before that it had also been acting badly. It's like it worked only for a few minutes.
I thought that updating the engine would be a good idea, so I updated it a few minutes ago and still no luck. What is going on?
Neither config.new_substitutions: True will work, and on the topic of that- are "True" functions supposed to light up in green or something because sometimes (Not all the time as you can see above) mine stay black and are useless as if I might as well be saying Frog = green (Without green being defined or in speech marks) rather then Frog = True.
