How to lock chapters during revamp?

You can loop it (message repeats) or password lock it.

Looping it:

label loop

NARR
This story is on loop.
You can’t go any further.
Beep.

goto loop

labels and gotos: HOW TO: Labels and Gotos 🖤

password lock it: A Guide to Typed-in Choices

So:

label unlock_code

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

if (CODE is “fluffy”) {
NARR
Correct! You’ve unlocked the episode!

} else {
NARR
Code incorrect. You can’t play this episode as it’s being revamped so don’t even think about typing in the code again.
goto unlock_code
}

*if the reader writes fluffy they’ll unlock it. i used fluffy as an example but really u can have any password (monkeytwo, hyowq, etc)

3 Likes