All pastes #886618 Raw Edit

Miscellany

public text v1 · immutable
#886618 ·published 2008-01-31 20:17 UTC
rendered paste body
ON *:TEXT:!score:#ircgames: {
  var %score = $readini(score.ini,Highscores,$nick)
  if (!%score) { notice $nick 2[14Score2] 14You haven't played the game yet, type 2!numberguess 14to play | halt }
  notice $nick 2[14Score2]14 Your best score is:2 $readini(score.ini,Highscores,$nick) 14tries!
}
ON *:TEXT:!score*:#ircgames: {
  var %score = $readini(score.ini,Highscores,$2)
  if (!%score) { notice $nick 2[14Score2] $2 14hasn't played the game yet. | halt }
  notice $nick 2[14Score2]14 $2 's best score is:2 $readini(score.ini,Highscores,$2) 14tries!
}
ON *:TEXT:@score:#ircgames: {
  var %score = $readini(score.ini,Highscores,$2)
  if (!%score) { notice $nick 2[14Score2] 14You haven't played the game yet, type 2!numberguess 14to play | halt }
  msg $chan 2[14Score2]14 Your best score is:2 $readini(score.ini,Highscores,$2) 14tries!
}
ON *:TEXT:@score*:#ircgames: {
  var %score = $readini(score.ini,Highscores,$2)
  if (!%score) { msg $chan 2[14Score2]2 $2 14 hasn't played the game yet. | halt }
  msg $chan 2[14Score2]14 $2 's best score is:2 $readini(score.ini,Highscores,$2) 14tries!
}