Pass codes or password Templates

general

#1

Hi I am currently working on a new story and I was wondering if any one has a password or pass code template .
I am trying to make one of my characters have to figure out the code to get in the door.
Thanks


#2

@Nicoleloreal,

This is the code for locking written in the case of locking a chapter. Basically just substitute your text as needed.

label name_input
input What’s The Password?|What’s The Password|Done(PASSWORD)
if (PASSWORD is “mypassword”) {
NARRATOR
Access granted.
goto start_story
} else {
NARRATOR
This story is currently unavailable.
goto name_input
}
label start_story


#3

Example:

label password_input
CHARACTER (think)
(What did he say the password was again?)
input What’s The Password?|What’s The Password|Done(PASSWORD)
if (PASSWORD is “12345”) {
NARRATOR
Access granted.
goto sucess_continue
} else {
NARRATOR
Wrong password.
goto password_input
}
label sucess_continue


#4

This is what I am doing and it is not working what am I doing wrong and is there one with multiple choices?
EVANGELIA (talk_think)
Really! I am putting in the right code.

label password_input

    EVANGELIA (think)
(What did he say the password was again?)

input What’s The Password?|1006g|Done(PASSWORD)
if (PASSWORD is “1006g”) {
NARRATOR
Access granted.
goto sucess_continue

} else {
NARRATOR
Wrong password.
goto label password_input
}
label sucess_continue


#5

Take out the label in goto password_input. I didn’t realize I left that in.

label password_input

    YOU (think)
(What did he say the password was again?)

input What’s The Password?|1006g|Done(PASSWORD)
if (PASSWORD is “1006g”) {
NARRATOR
Access granted.
goto sucess_continue

} else {
NARRATOR
Wrong password.
goto password_input
}
label sucess_continue


#6

okay I did that but the input box that should pop up to allow reader to type in code is not coming up?


#7

Are you previewing it on your phone or web previewer. It won’t show up on the computer.


#8

Computer, I will check through my phone.


#9

Closing due to one month of inactivity :slight_smile:


#10