Section 3 - Outpointing, the Exits command, Exiting
Understand the command "exits" as something new.
Outpointing is an action applying to nothing. Understand "exits" as outpointing.
Carry out outpointing:
say "From here you can go [actual directions]."
To say actual directions:
repeat with that way running through directions:
if the room that way from the location is a room,
now that way is marked for listing;
if the list of directions which are marked for listing is empty:
say "nowhere";
else:
say "[list of directions which are marked for listing]";
now every direction is not marked for listing.
Instead of going outside, try exiting.
[Instead of going nowhere for the fifth time, say "[bracket]Lost? Check for the available exits in the status bar. The capitalized ones lead to yet to be discovered locations[close bracket]."]