Twine Version: 2.9.1
Story Format: Harlowe 3.3.8
Hello! I’m pretty new to twine and I’m looking for help making a password-protected passage. The hope is to have a textbox that a player will have to enter a specific phrase or word into in order to progress, but I’m having trouble figuring out how to do that just by reading the twine cookbook and Harlowe manual. I’ve figured out that (input: bind $Variable)
will allow the player to change a variable to a string of whatever they enter into the box, but I’m lost with discovering how to translate a specific phrase into a way to get to the next passage. I know that (if: $Variable is "password")[[[next passage]]]
won’t work because the if
condition doesn’t continually check, and I thought that (cond: $Variable is "password")[[[next passage]]]
might help me but I think I’m phrasing it wrong or otherwise it doesn’t do what I think because I keep getting this error message:
“The (cond:)
macro was given the boolean value ‘false’, but needs 2 more values.”
Anyways, I’m going to keep reading to see if I can find what I need but help would be sooo appreciated! Thanks : )