It worked yesterday! (collecting names)

Hi guys. I copy-pasted this Inform example into my game as one of the first things the player sees. It worked perfectly a day or so ago, but now it suddenly does nothing and I can’t work out why.

[code]The player’s forename is a text that varies. The player’s full name is a text that varies.

When play begins:
now the command prompt is "What is your name? > ".

To decide whether collecting names:
if the command prompt is "What is your name? > ", yes;
no.

After reading a command when collecting names:
if the number of words in the player’s command is greater than 5:
say “[paragraph break]Who are you, a member of the British royal family? No one has that many names. Let’s try this again.”;
reject the player’s command;
now the player’s full name is the player’s command;
now the player’s forename is word number 1 in the player’s command;
now the command prompt is “>”;
say “Hi, [player’s forename]![paragraph break]”;
say “[banner text]”;
move the player to the location;
reject the player’s command. [/code]

When you start the game now, it just dumps you in the first room as it did before I added the script. For some reason the 'now the command prompt is "What is your name? > ". ’ part absolutely refuses to work and the command prompt remains the same. I think something is conflicting with it, but I have no idea where to start looking. As far as I know, this is the only time the command prompt ever changes in the script.

Never mind, sorry, I solved it with a few truth states. :stuck_out_tongue: