How to put a password into your story - answer

I need to put a password into my story so, if you know the password, you can keep going.

How do I do this?

1 Like

I’m no expert, but you should check out @Dara.Amarie 's guide since explains it pretty well.
Hope you figure it out! :slight_smile:

Okay, thank you!

If anyone is reading this and needs it as well, here is the code:

label unlock_code

input What is the passcode? | What is the passcode? | Unlock(CODE)

if (CODE is “Apple”) {

	NARRATOR
Correct! You’ve unlocked the door!

} else {

	NARRATOR
Code incorrect.
Please try again.

goto unlock_code

}

1 Like

Closed: Marked as solved by op @Jess2112 :yay: