Hmm, I might be overlooking something, but that doesn’t compile for me in I7 v10.1.2. Problem message: “I don’t understand the ‘when/while’ clause, which should name activities or conditions”.
If I change the preamble:
Rule for writing a paragraph about a person when the number of people in the location is at least 2:
say "[The list of people in the location] are here.".
… then it compiles but produces:
Lab
You, Alice, Bob and Charlie are here.
So I think we’d need at least a refinement to exclude the player character, something like:
Rule for writing a paragraph about a person when the number of people in the location is at least 2:
say "[The list of people who are not the player in the location] [are] here.".
… which produces:
Lab
Alice, Bob and Charlie are here.
But having said that, I’m not sure if that’s the desired behaviour, since we’re now suppressing the initial appearance (in my scenario, I’ve given Charlie an initial appearance).
And I’m actually not reproducing this:
For me, this example code:
The Lab is a room.
Alice is a woman in the Lab.
Bob is a man in the Lab.
Charlie is a man in the Lab. "Charlie is here with an initial appearance."
The Corridor is north of the Lab.
Before listing nondescript items:
say "[A list of people who are marked for listing] [are] here.";
repeat with named party running through people:
now the named party is not marked for listing;
… produces this output:
Lab
Charlie is here with an initial appearance.
Alice and Bob are here.
>n
Corridor
>s
Lab
Charlie is here with an initial appearance.
Alice and Bob are here.
That seems to be fine, I think?