Help with script please?


#1

Ok, so I’m trying to get the script to have a character type they’re name but every time I click save preview and run the script, the username is just autobot and I can’t actually type one.

Here’s my script:

label first_name_input

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

if (FIRSTNAME is “”) {

    NARRATOR
You do need a name...

goto first_name_input

} else {
continue
}


#2

Your script is fine. Unfortunately, you can’t type in or see names on the web previewer yet, only when you preview it on your device. It should work then! :slightly_smiling_face:


#3

I can feel you, I felt confused the first time too.


#4

@goth.gaia is right, script is fine! The web previewer shows autobot, but testing your story on a device shows the name if you type it in.

Also, you don’t need to include that extra stuff to allow a reader to type in a name, all you need to write is:

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

Much less work, right?


#5

Thank you all! <3

@JemU776 @goth.gaia @LeIsaac