All pastes #371953 Raw Edit

Unnamed

public text v1 · immutable
#371953 ·published 2007-02-25 19:46 UTC
rendered paste body
on *:text:!scouts*:#:{
  if ($2 == LuckyBot) || ($2 == LuckyCmb) notice $nick $2 has set the world more times than you can imagine!
  else {
    if ($2) var %infonick = $2
    else var %infonick = $nick
    var %tempnum = 0
    var %tempnum2 = 0
    /set %tempnum $($+(%,%infonick,1),2)
    /set %tempnum2 $($+(%,%infonick,2),2)
    if (%tempnum2 == 1) %tempstr = %infonick has scouted the world %tempnum2 time!
    else {
      if (%tempnum2 > 1) %tempstr = %infonick has scouted the world %tempnum2 times!
      else %tempstr = %infonick has not been noted scouting the world!
    }
    if (%tempnum == 1) %tempstr2 = %infonick has set the world %tempnum time!
    else {
      if (%tempnum > 1) %tempstr2 = %infonick has set the world %tempnum times!
      else %tempstr2 = %infonick has not been noted setting the world!
    }
    if ((%tempnum2 == 30) {
      notice $2 Congradulations! You now are eligable to become a voice in #LuckyPc! Please wait for LuckyCmb to set your access.
      /ms send $me $nick deserves 3 access on #luckypc
    }
    elseif (%tempnum2 == 60) {
      notice $2 Congradulations! You now are eligable to become a halfoperator in #LuckyPc! Please wait for LuckyCmb to set your access.
      /ms send $me $nick deserves 3 access on #luckypc
    }
    elseif (%tempnum2 == 110) {
      notice $2 Congradulations! You now are eligable to become an operator in #LuckyPc! Please wait for LuckyCmb to set your access.
      /ms send $me $nick deserves 3 access on #luckypc
    }
    /notice $nick %tempstr %tempstr2
  }
}