So...How to note the player moves [RESOLVED]


I’ve been trying for quite awhile to solve an issue with a new command I came up with for my game. I pretty much created the ability for the player to hide behind something and be “not visible” so that any of my NPCs can’t see him.

The problem is, I can’t figure out what to write so that if the player does anything, but “look” the parameter is set to “visible”.

Any thoughts?

Before doing anything except looking, waiting, or taking inventory:
    [...if flag is set, clear it and say something...]

The other action exceptions make sense, I hope.

Note that this doesn’t take into account whether the action is successful. Typing “north” in a room with no north exit will still trigger this code.

I had a feeling it was something like that, but I could not find the right combination or the documentation. I really appreciate your help!