code = GetInput()msg ("Please enter security code.")
get input {
if (result = "your_code_here") {
UnlockExit (room_to_room_2)
msg ("The exit to the second room is unlocked now.")
}
else {
msg ("Nothing happens. This code seems to be wrong.")
}
}