s = FormatObjectList(game.pov.parent.objectslistprefix, GetNonTransparentParent(game.pov.parent), Template("And"), ".")
msg(s)
s = FormatExitList(game.pov.parent.exitslistprefix, GetExitsList(), Template("Or"), ".")
msg(s)
jaynabonne wrote:Onward...
To show the list of objects in the room, do something like:s = FormatObjectList(game.pov.parent.objectslistprefix, GetNonTransparentParent(game.pov.parent), Template("And"), ".")
msg(s)
To show the list of exits, do:s = FormatExitList(game.pov.parent.exitslistprefix, GetExitsList(), Template("Or"), ".")
msg(s)
It's not pretty, but it should work. (This is taken roughly from ShowRoomDescription.)