I'm trying to test if something has been user added. I've tried using this script.
And I get "Error parsing left-side expression in relational comparison."
I've tried changing the IF statment to:
if (hero.childfound[pwrElement].tagis[thing.user_added]) then
And I get the same thing. I've tried appending " = 1" and " = TRUE".
Sooo ... what am I doing wrong?
Code:
~This stunt should not be user added.
if (tagis[thing.user_added]) then
@valid = 0
@message = "Cannot be user added."
linkvalid = 0
done
else
@valid - 1
endif
And I get "Error parsing left-side expression in relational comparison."
I've tried changing the IF statment to:
if (hero.childfound[pwrElement].tagis[thing.user_added]) then
And I get the same thing. I've tried appending " = 1" and " = TRUE".
Sooo ... what am I doing wrong?