NOW, here is the problem I am now trying to do this but im not sure how, This is what I have at the moment.
- Code: Select all
pregame is a scene.
pregame begins when play begins.
starting location is a room.
when play begins:
now the player is in starting location.
when play begins:
say "[paragraph break][paragraph break]Please enter the words listed at the end of (games name) below."
When play begins:
change the command prompt to "Please enter first word > "
First Password is an indexed text that varies. Second Password is an indexed text that varies. Third Password is an indexed text that varies. Fourth Password is an indexed text that varies. Fifth Password is an indexed text that varies.
To decide whether collecting First Password:
if the command prompt is "Please enter first word > ", yes;
no.
To decide whether collecting Second Password:
if the command prompt is "Please enter second word > ", yes;
no.
To decide whether collecting Third Password:
if the command prompt is "Please enter third word > ", yes;
no.
To decide whether collecting Fourth Password:
if the command prompt is "Please enter fourth word > ", yes;
no.
To decide whether collecting Fifth Password:
if the command prompt is "Please enter fifth word > ", yes;
no.
After reading a command when collecting first password:
if the the player's command is "monkey":
say "[paragraph break] Thank you.";
change the command prompt to "Please enter second word";
(here I would make changes that the entered password would cause).
so if theres 5 passwords and about 5 choices for each of the passwords how would I actually code that out?
Thanks alot