Hello! This is my first post, I’ve recently started to learn ChoiceScript and I’m finding it really fun and interesting, but I just ran into my first big problem. As I said, I’m pretty new so this might be very simple but I just can’t figure out by myself what I’m doing wrong!
I’m trying to use *if to give different options in a choice for the player depending on the outcome of a previous choice using a boolean variable. It’s set as ‘create touch true’ in this particular startup file, so i can test it as I go along, but each time I try to test in firefox it it’s giving me an “Expected option starting with #” for the first line using an *if command. I’ve read every relevant wiki page a dozen times and loads of forum threads but I don’t see what’s wrong with my code and why it won’t accept it.
*choice #I don't know what I was thinking bringing this home. I throw it in the back of my closet and try to forget about it. *set ignore true This artifact, whatever it is, is clearly dangerous. You got caught up in the excitement of discovering something strange and potentially life changing, but you don't want to risk it ruining your life. You take it and, still wrapped in the jacket that you're pretty certain you will never wear again, put it inside one of the boxes of random stuff from your childhood you still keep deep within your closet. It'll be safe there and with a bit of luck you'll be able to just ignore it until you find the right time to get rid of it. *finish *if ( touch = true ) #I need to touch the artifact again. I know if I just keep trying, eventually I'll be able to understand the information it's attempting to communicate and I am willing to suffer to achieve that understanding. You need to descipher whatever secrets the artifact might hold. This is so important to you that you barely think about the pain it'll cause you, because ignoring it would bring its own kind of pain that would stay with you your entire life. *finish *if not (touch) #I will run tests to find out more about the artifact. Proper science is the only answer to this. This is an unparalleled and incredible opportunity for scientific discovery. You will attempt to research the artifact properly and test it to find out as much about it as possible. *finish
I’ve tried to use ‘*if (touch) #Whatever’ too but changed it to see if that fixed it, without any luck. I’ve checked my indentation and changed it around SO much too. Please help me, I don’t know what to do anymore