Learning ChoiceScript
- Part 1: Playing “My First ChoiceScript Game”
- Part 2: Choice, Finish, and Ending
- Part 3: Scenes
- Part 4: Using Variables
- Part 5: Text Formatting and Images
- Part 6: Fairmath
- Part 7: Inputs
- Part 8: Labels and Subrountines
- Part 9: Meta Commands
- Part 10: Customizing the Stat Screen
ChoiceScript is a scripting language from Choice of Games LLC for creating choose-you-own-adventure games.
Meta Commands
Introduced in screenshots and code starting with Part 2 of this series, there are commands that do not produce output, but who work on the project itself. These are the meta commands: *title, *author, and *comment.
Title
The *title command does as it name implies: it sets the title of the project. When used toward the beginning of the startup.txt file, it defines the title.
Author
The *author command, like the *title command, follows a similar functionality. It defines the author.
Comment
Unlike *author and *title, the *comment command is for the programmer only. It allows for writing comments within the code that do not appear when it is run.
GitHub Gist Version:
*title Example | |
*author Dan Cox | |
*comment This is a story about The Brothers Grimm | |