If I am understanding your replies in that other thread correctly, you can use:


gamelength += 1

To increase the gamelength value by 1.

This is basically saying gamelength = gamelength + 1