Using a chosen name in portal

I haven’t used episode in what feels like almost a year so my coding skills are like non-existent
anyhow I was writing this story and I’m just getting back to it and I let my reader choose between two names and now I want to mention the name they choose but I don’t remember how. I changed the characters display name to boyname and when the character has dialogue it shows the name the reader choose that works fine I just need help mentioning the name in dialogue
heres a picture of my script

if its a choice it has to be like this
NARRATOR
What name?
choice (pick_name)
“kat” {

}
“sara” {

}

if (pick_name “kat”) {

NAME
Hey Kat
}
else {

NAME
Hey sara
}

1 Like

if its the code where they can pick there own name its this.

note that if you use this , in the writhing portal it will write autobot in the chapter and cant show the option where you can pick, it can only do it on the phone

    NARRATOR

What is my name ?
input What’s Your First Name?|What’s Your First Name?|Done(YOU)

if (YOU is “”) {

    NARR
You do need a name...

goto my_name_input

} else {

continue

}

YOU
So my name is [YOU]

1 Like

this is what the choice looks like

1 Like

yeah that dosent work. you can not do that. at least not as far as I know

I have giving you examepls of two ways you can do it

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.