ok thank you for the help. this is the code i used to get it going.

Code:

    if ($readini(games.ini,twister,$nick) = $null)  { writeini games.ini twister $nick %moves } 
    if ($readini(games.ini,twister,$nick) < %moves) { writeini games.ini twister $nick %moves }