How do compare two text that are *not* the same

miyaoomiyaoo Member Posts: 27
edited August 2014 in Working with GS (Mac)

I have "is" to compare text.
How I compare a diffrent text, I want if its not the same text so is wrong and I change the 'integer' number.

same text do +1
not same text -1

How can I do that ? to "is not" the same text.

Thanks!

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    Rule:

    If text expression: (your text) IS NOT (your other text)
    Change attribute game.Attribute to game.Attribute-1

    That's how you would go about determining if the strings are not the same. You can probably figure out the rest.

  • miyaoomiyaoo Member Posts: 27

    Actually I did something similar and it helped. Thanks!

    Another thing, if I remove rows from a table and at the end of the game actually does not stay any line(roes.. cloums..).

    I have a button to start the game from the beginning. And this point actually the table is empty, does not show anything. What's the command to return the table as it was in the beginning with all the lines?

    Thanks!

Sign In or Register to comment.