[Twine Sugarcube] something like Harlowe's (history:) macro?

Hey @Greyelf, thanks for your answer! I did try that, but it didn’t work so I think I’m still doing something wrong.

I wrote like this:

<<if hasVisited(“Let her in”)>>“What is your name, Miss…?”
“Lizzy,” answered the woman.<< /if >>