Voglio solo chiedere all'utente una riga di testo nel mezzo di un'azione. L'effetto dovrebbe essere il seguente:Come posso leggere una riga di input in Inform 7?
> north
The robot steps in front of you as you approach the gate.
"PAASSWAAAAWRD!!" it bellows.
Enter the password: _
A questo punto il gioco dovrebbe fermarsi e consentire al giocatore di provare a indovinare la password. Ad esempio, supponiamo che io immagino “fribble”, che non è la password:
Enter the password: fribble
"WRONG PASSWAAARD!" roars the robot. "CHECK CAPS LAAAWWWWK!"
>
Il comportamento che voglio è simile a if the player consents
, ma voglio tutta la linea di ingresso, non solo un sì o no.