To make things clear: I have a sprite. When It's clicked its gonna add 1 to "a". I want to make when "a" reaches 10, 20, 30, 40, 50, 60, 70 and so on to add 1 to "b". Like this:
a=10 b=1
a=340 b=34
a=555 b=55
a=29 b=2
Try "On sprite clicked" > "Add 1 to value "a"" & "Set value "b" to (floor(a/10))".
see my example: [attachment=0:38hjnqb2][/attachment:38hjnqb2]