Here’s a simple chunk of Inform 7 that’s supposed to ask the player for a password when they open the laptop; however, as much as I’ve tried to ensure proper indentation, I still get the error that includes “But the tabs here seem to be misaligned, and I can’t determine the structure. The first phrase going awry in the definition seems to be ‘if the player’s command matches “secret”’, in case that helps.”
After opening laptop: say "You must login first!"; now the command prompt is "Password: ". After reading a command when the command prompt is "Password: ": if the player’s command matches "secret": say "Welcome!"; otherwise: say "Wrong!"; now the command prompt is ">"; reject the player's command.
For context, I’m using borogove.app, and while I’ve encountered this error before, I’ve been able to remedy it (although I don’t have access to the code I’ve fixed in the past, at the moment, and I don’t have a local copy of Inform 7 running on this laptop either).
I’ve searched through similar articles and can’t seem to find what I’m after, although it’s not impossible I’ve overlooked something. Any pointers on what could be off?