In case this proves hard to fix and you want to slice the Gordian knot, I once did this to stop the player from chaining commands when my game couldn’t handle it:
[code]First after reading a command when the player’s command includes “then”:
say “Sorry, but it looks like you’ve chained more than one command together with the word ‘THEN.’ This game doesn’t support that feature.”;
reject the player’s command.
First after reading a command when the player’s command matches the regular expression “.”:
say “Sorry, but it looks like you’ve chained more than one command together with periods. This game doesn’t support that feature.”;
reject the player’s command.[/code]