I have a single room with no doors. I like a friendlier message than “You can’t go that way.”
I tried
Instead of exiting: say "There's no way out of here."
That worked but prevented the player from exiting a container.
The compiler didn’t like any variation of:
Instead of going east or going west [etc]: say "There's no way out of here."
This compiled but didn’t do anything:
Instead of going in a direction: say "There's no way out of here."
Am I stuck with repeating “instead of going” for all 8 directions?