Help with name input/variables?

I’ve been a fan of CoG for a long time now and only recently got ChoiceScript, so I’m new to this whole thing. I barely know my left from my right with codes, but so far I’ve managed to get everything right. Until I got to the names.
I figured out how to add a input name to let the player choose their first name and last name, however, I was wondering if there was a way for me to make the other names that are there by my choice, appear in the next selection? Or do I have to type it all out, separately?

What is your name?
    *set name "Bob"
    *set name "Jo"
    *input_text name

@andymwhy See, I tried that before. But every time I do that a pop up comes up when I get that point and says “startup line 78: Invalid expression, couldn’t extract another token: �Riley�”

I wrote a quick tutorial on setting names and the like.

As for the invalid expression, are you using a word processor or a text editor?

1 Like

@FairyGodfeather I’m pretty sure it’s a text editor.

@FairyGodfeather Thank you for the tutorial! I figured out what was wrong and fixed it :slight_smile:

1 Like