SCRIPT HELP - if/elif/else isn't working?

I’m trying to trigger a texting event based on a past choice, using the Choice Name & Option Method. As far as I can tell, I’m doing everything right, but I keep getting this error, no matter what I do to fix it. I’ve been searching for solutions all morning with no success!

Note: on line 578, the if(COMPANY is “Hang with Axe”){ was fixed. I thought the missing L in his name would somehow solve the problem. It didn’t, but at least I caught that mistake.

Any help with this is super appreciated! :sparkling_heart:

@zombiemoron could it be the XOX ? maybe change it into Xox?

On line 590, you spelled COMPANY wrong

else needs to be by itself

Also when you write a sentence or word in all capitals under a character (ex. WE ARE GOING TO THE MALL), you should have punctuation.

@amberose oh, thank you, I didn’t notice that. However, it didn’t fix the problem.

1 Like

Lol, Jem’s suggestion will probs do the trick

1 Like

@JemU776 thanks for the tip! I put else by itself and it didn’t fix the problem either though…

Did you also do this?

Example:

STAY AWAY FROM AXEL will give you an error (it’s in all capitals, you need punctuation) Feel free to add an exclamation mark (!) to the end of it.

So, it becomes:

STAY AWAY FROM AXEL!

Ah! tHAT FIXED IT thankies! :star_struck::star_struck::star_struck:
I SUPER appreciate it!!!

1 Like

No problem, glad to help :+1: :sparkling_heart: :sparkles:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.