So I'm encountering another issue in Harlowe:
Essentially, I am trying to create a passage link that is a hook that I can show or hide depending on if a variable is stored within my history.
This is what I typed up:
(if: history contains $whatdoyoumeanbyclinic (hide:ClinicAsk))
[[[What do you mean by Clinic?]]]<ClinicAsk|
But but this somehow creates a passage with the title "[What do you mean by Clinic?"
It appears to be a bug and I'm not sure how to fix this?
Comments
There's also a few problems with your if line
to access the story history you need to call a macro (history:)
The action to perform when the condition is true should be in a separate hook
There's no hide macro. Instead replace the contents of the ClinicAsk hook with an empty hook
To reference a named hook you need to put a ? before the name
The line needs to come after the line that defines the hook in order to work
The following works