Hey guys, I have a quick question
In my game I want the user to be able to name their character
I have the CSS for the textbox (<<textbox "$name" $name>>), that the character will use to set their name. What would be the CSS for the character's name to be displayed throughout the story?
For example, if I name myself "Bob" in the textbox and then next passage I want it to say "Good job 'Bob'"
Comments
Your macro doesn't seem well-formed either, it should be:
Documentation to read for more.
So you probably want something like:
Or:
Then you can just enter the variable name in a passage to display its value thanks to SugarCube's naked variable markup:
You can also use the <<print>> macro, but you shouldn't need to for anything like this.
The naked variable examples cleared everything up. I got this to work, thanks for your help