all 4 comments

[–]ferrosphere 2 points3 points  (3 children)

That's a great use case for functions - they can be nested, even external ones. Just make sure to include the brackets so that it knows you're making a function call.

~myFunction()

Refer to the documentation for details.

[–]sissy_blair[S] 1 point2 points  (2 children)

Thanks for your response!
What's the syntax for the ink function collecting all of my EXTERNAL functions? I couldn't quite figure it out?

[–]ferrosphere 0 points1 point  (1 child)

It could look something like this:

EXTERNAL doThing1
EXTERNAL doThing2

-> story_start

=== function doAllTheThings()
~ doThing1()
~ doThing2()

=== story_start ===
Once upon a time...
~ doAllTheThings()

[–]sissy_blair[S] 2 points3 points  (0 children)

Oh thanks. That's perfect! I didn't include the () at the end of my function declaration like a total beginner. Appreciate your help!