Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

[Harlowe] Getting 'unexpected identifier' while using (link-reveal:), is it just syntax?

So I've set up cheats for my project using debug-footer, and in it I want to only show the list of cheats and quick-jumps if clicked. Here is my code:
----
Debug mode is on.
(link-reveal: Reveal GOTOs)[
[[GOTO inv-test->inv-test]]
]
(link-reveal: Reveal Cheats)[
(link: 10000 inv space)[(set: $inv_limit to 10000)]
]
However the resulting footer is:
Debug mode is on.
☕ Unexpected identifier►
GOTO inv-test

☕ Unexpected identifier►
☕ Unexpected identifier►
(Sorry just copy-pasted that in, the cups of coffee are unintentional, probably something with unicode.)

If anyone can help, that would be appreciacted.

Comments

  • You cannot simply pass raw text into the macro. You need to quote the strings you're attempting to use as the link text argument. For example:
    (link-reveal: "Reveal GOTOs")[ ... ]
    
  • You cannot simply pass raw text into the macro. You need to quote the strings you're attempting to use as the link text argument. For example:
    (link-reveal: "Reveal GOTOs")[ ... ]
    

    Ah, that's what I thought. I'll just go fix that. :neutral:
Sign In or Register to comment.