UNDERSTAND command

Hi

I’ve just started out with Inform 7 and I can’t seem to get the UNDERSTAND command working as I thought it should.

Basically I want the player to be able to flick a switch into the on position as opposed to the built in ‘turn switch on’. I thought this would be as simple as

Understand "flick [something]" as turning on.

but apparently not.

Any pointers greatly appreciated.

The reason your understand phrase doesn’t work is that the turning on-action is actually called “switching on”.

So Understand "flick [something]" as switching on. should work.

(Alternatively you could make the words flick and switch interchangeable in player’s input thus: Understand the command "flick" as "switch". )

Could the compiler be trusted to provide a helpful message in this case?