All pastes #465491 Raw Edit

Anonymous

public text v1 · immutable
#465491 ·published 2007-04-30 11:42 UTC
rendered paste body
on *:TEXT:*:?:{
  if ($nick == [PC]RSPC-Security) && ($nick isop #RSPC-Staff) {
    if (SC:* iswm $1-) {
      tokenize 32 $right($1-,-3)
      var %a = 1, %n, %c, %s
      while ($gettok($1-,%a,32)) {
        %n = $gettok($v1,1,61)
        %c = $gettok($v1,2,61)
        if ($readini(SetCount.ini,Worlds,%n) > %c) %s = %s $+(%n,=,$v1)
        elseif ($readini(SetCount.ini,Worlds,%n) < %c) writeini SetCount.ini Worlds %n %c
        inc %a
      }
      if (%s) .msg $nick $+(SC:,%s)
    }
    elseif ($1- == SCE) close -m $nick
  }
}