The line of the script with an error in is:
if speaker.Name = "ovyxn" then
The '=' is underlined red and says: Expected 'then', got '=' Can anyone please help me with this?
The line of the script with an error in is:
if speaker.Name = "ovyxn" then
The '=' is underlined red and says: Expected 'then', got '=' Can anyone please help me with this?
The assignment operator is =
The 'equal to' operator is ==
You can't assign something in the conditional portion
if speaker.Name == "ovyxn" then
####Don't forget to accept if this helps
Thank you so much! This really helps.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
= means you change it to. == means its equal to.