It looks like you are using your “start up” file for writing. Start up files are used to get variables set up correctly, to establish the accessible “scenes” and to initiate your achievements.
Here are some further links that can help you get started:
Helpful Links:
Master-List Links For Beginners: https://forum.choiceofgames.com/t/master-list-links-for-beginners/21872
CSIDE Scripting Tool Web-Site: https://choicescriptide.github.io/