Turning the noun in "say noun" into the player's last command

Hey All–

So I have a situation in which if the player says a noun, it becomes a tangible thing. So:

>say hammer
You’re now holding a hammer.

I’d like the player to now be able to say “X it” and the game will know “it” is the hammer. But it doesn’t, because the hammer didn’t exist until the player said the word.

Is there a way to make “hammer” the noun in the player’s last command so “x it” will work here as the next command?


You can write set pronouns from the hammer after creating the hammer object (or bringing it on-stage, or whatever you’re doing).


That is a very cool trick. Thank you!