Skip to content
Discussion options

You must be logged in to vote

Hello,

Any JS must be indented with 4 spaces.

Also, your HTML comments are not formatted properly. The extra spaces <! -- are no good. Should be like <!-- NOTE HERE -->

Try it like this:

@start Menu

[[]]:
@clear

[[Menu]]:
[[New Game]]
{if Continue>0:[[Continue]]}

[[Endings]]

[[New Game]]:
@set Continue=0
    squiffy.story.go("Tutorial");
<!-- Clear the flags script -->


[[Tutorial]]:
<!-- Insert tutorial -->
Tutorial prints here.

[Continue...]

[Continue...]:
@inc Continue
Selected Continue.

Note: I'm not giving you a hard time, I promise, but.... You might already have spacing in your code, but we can't see because it was posted like plain text. To post code blocks here: https://…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@KVonGit
Comment options

KVonGit May 15, 2025
Collaborator

@CMoonshadow
Comment options

@KVonGit
Comment options

KVonGit May 15, 2025
Collaborator

@KVonGit
Comment options

KVonGit May 15, 2025
Collaborator

@CMoonshadow
Comment options

Answer selected by CMoonshadow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants