The following code says 12 for nofol and 1, (line break), 2 for fol. I’m curious as to why, and I’m also curious as to how to get rid of things. The actual test case isn’t this simple–but basically, I can have a hint topic that is on, off or rule-based…and if it is rule-based, an extra carriage return comes out.
[code]room 1 is a room.
chapter nofoling
nofoling is an action out of world.
understand the command “nofol” as something new.
understand “nofol” as nofoling.
carry out nofoling:
say “1”;
say “2”;
the rule succeeds;
chapter foling
foling is an action out of world.
understand the command “fol” as something new.
understand “fol” as foling.
carry out foling:
say “1”;
follow the xyz rule;
say “2”;
the rule succeeds;
Oh, no problem at all. I actually performed a few weak searches, then I found the right one.
This sounds like something that is good for a general knowledge base, if we ever get one. And it’s good to know that people more proficient in Inform than I am find it tricky, too. So it’s not just me.