Incomplete Statement

Hello! I have been scripting for a while now, and I have never run into this issue, and as far as I can see, there’s no topics about it at all. So, here I am, looking for answers as I clearly don’t have any.

Image:

The error being given; Incomplete Statement: Expected assignment, or function call.

I tried moving things around, as well as using variables, etc. However, I have found no fix at all.Thoughts?

( don’t know if I am just being unintelligent right now, or if this is actually hard to figure out )

3 Likes

You’re using a relational operator instead of the single equal sign which will assign a value to the variable. Really simple fix just replace the == with =.

10 Likes

Ah! Silly me! I didn’t think the whole line would be underlined for a simple mistake like that. My bad. Thank you!

2 Likes