using password to unlock

How do I unlock by a password that the player should write?


ask("What is the password?")
if{result="Password", unlock door}

Or something like that...


Have a lok here in the Looking for a Specific Answer section:

http://docs.textadventures.co.uk/quest/asking_a_question.html


Log in to post a reply.

Support

Forums