About Score?

Hi..
I added score and lives to my game, but i wanted to know can I tell that every 15 points one life adds?
I added score and lives to my game, but i wanted to know can I tell that every 15 points one life adds?
Comments
Rule
when game.score=game.score%15
change attribute game.lives to game.lives+1
if this doesn't work you'll want codemonkey or firemaple joe - they'll know for sure!
thanks for the help I will try it out
But not now because I don't have my laptop right now :P