Help with da name template

Hey!
Can somebody help me? What am I doing wrong?
Can’t get it to woooorrrkkkkk!

The code

@LOUISIA enters from right to screen center AND ELIONORA walks to screen left
@LOUISIA starts idle
@ELIONORA faces right

    NARRATOR

So… what’s your FIRST name?

label first_name_input

input What’s Your First Name?|What’s Your First Name?|Done(NAME)

if (LOUISIA is “”) {

    NARRATOR

You do need a name.

goto first_name_input

} else {

continue

}

    NARRATOR

So... what's your LAST name?

label last_name_input

input What’s Your Last Name?|What’s Your Last Name?|Done(LASTNAME)

if (RUSSO is “”) {

 NARRATOR

You do need a name.

goto last_name_input

} else {

continue

}

    NARRATOR (ELIONORA)
This is FIRSTNAME LASTNAME, she's 20 years old and live in the UK. That's all for | animation:shuffle-sideways | now!

What is the exact error you’re getting?

1 Like

I’m not getting any error but I can’t change the name!

This is FIRSTNAME LASTNAME, she’s 20 years old and live in the UK. That’s all for | animation:shuffle-sideways | now!

When I read it on my mobile it says FIRSTNAME and LASTNAME instead of an actual name

Try adding square brackets around the FIRSTNAME and LASTNAME

For example:
[FIRSTNAME] [LASTNAME]

1 Like

Every-time when using the characters name. It should have the square brackets around it.

Example: Hi, [FIRSTNAME]

The lastname works but not the firstname

[NAME] [LASTNAME]

this should work. sometimes it glitches but if you test it from a mobile it should be fine

1 Like

It appears the command for the FIRSTNAME was just NAME so change that to FIRSTNAME and it should work now :slight_smile: hopefully.

1 Like

I works thank you!

No problem :slight_smile:

1 Like

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