wow what a difference!

it works just as you wrote it.

i don't want to add the scores to gether but to replace it if it is higher than the previous one.

so, i should use $replace? or just change it when it is larger?

Code:

var %score = %moves 

if ($readini(games.ini,twister,$nick)) < %moves
   writeini games.ini twister $nick $iif(%score,%score,%moves)