Hi, Episodians !!!
You can use a password lock at the end of the last complete chapter or the beginning of the first blank one to prevent people from trying to play a blank chapter. To do that, insert this code:
label name_input
input What’s The Password?|What’s The Password|Done(PASSWORD)
if (PASSWORD is “mypassword”) {
NARR
Access granted.
goto label story
} else {
continue
}
NARR
Do you want to try again?
choice
“Try again” {
goto label name_input
} “Don’t try again” {
NARR
This chapter is under construction.
Please check my social media to know when it will be ready.
goto label end_of_story
}
label story
##################
PLACE YOUR STORY’S BODY OF TEXT HERE
##################
label end_of_story
INT. BLACK - DAY
NARR
This is the end of the episode.
goto label name_input
You can put whatever password you need to in place of 'mypassword.
To lock your script the only places that you will need to change is the password information here where it says “PASSWORD”:
input What’s The Password?|What’s The Password|Done(PASSWORD)
if (PASSWORD is “mypassword”) {
The label names do not need to be changed.
To add the password script to your story copy the first portion of the script from label name_input to label story and paste it on line 1 of your story in the chapter that you wish to lock. Then, at the very end of your story past the rest of the password script.
label end_of_story
INT. BLACK - DAY
NARR
This is the end of the episode.
goto label name_input
Thanks, and have a wonderful day!
With Love,
@AlinaGreeks