see the other thread, I've posted there and I think Avantar has too, hopefully you can understand one of our posts (most likely Avantar's, laughs).
if you just want to increase~decrease by a value of 1, then you can use the GUI~Editor's:
run as script -> add a script or add new script -> variables -> 'increase object counter' or 'decrease object counter' -> (see below)
Increase counter [OBJECT] (whatever Object) [COUNTER NAME] (whatever Attribute's Name)
example:
in GUI~Editor, using the 'increase object counter' Script: Increase counter [OBJECT] (game) [COUNTER NAME] (turns)
in code: game.turns = game.turns + 1
in GUI~Editor, using the 'set a variable or attribute' Script instead: (same as 'in code' above)
-----
so if you want to increase or decrease by more than 1 (and also be able to multiply or divide), then you need to use the 'set a variable or attribute' Script, instead.
-----
off-topic:
monkeys have tails, humans do not have tails, humans are NOT monkeys!
apes do not have tails, humans do not have tails, humans ARE apes.
so, I'm (just a newborn) code APE
APES:
humans, chimps, bonobos, gorillas, and orangutans
MONKEYS:
old world (europe, asia, africa) monkeys (non-prehensile tail: can't hang from trees with their tails: baboons)
new world (north and south americas) monkeys (prehensile tails: can hang from trees: meh, none are cool to know, lol)