All pastes #760898 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-04 13:34 UTC
rendered paste body
alias check.points {
  var %a = 1
  while ($read(topscore.txt,%a) && %a < 11) { 
    if ($gettok($read($mircdirtopscore.txt,%a),2,42) <= %nick.score) {
      write -il $+ %a topscore.txt %nick $+ * $+ %nick.score
      echo -a Check complete
halt
    } 
    inc %a
  }
}