All pastes #612022 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-10 04:29 UTC
rendered paste body
on *:TEXT:!increase*:#:{
  if ($2 == $nick) /halt {
    elseif ($2 ishop #) || ($2 isop #) /halt {
      elseif ($nick !isreg $chan) {
        inc %temp [ $+ [ $2 ] ]
        msg # $nick $+ , you seem to like $2 $+ , he now has %temp [ $+ [ $2 ] ] points towards temp voice!
        if (%temp [ $+ [ $2 ] ] == 5) mode # +v $2 {
        }
      }
    }
  }
}  
on *:TEXT:!decrease*:#:{
  if ($nick !isreg $chan) {
    dec %temp [ $+ [ $2 ] ]
    msg # $nick $+ , you don't seem to like $2 $+ , he has lost one point, and now has %temp [ $+ [ $2 ] ] points towards temp voice!
  }
}

on *:JOIN:#:{
  if (%temp [ $+ [ $nick ] ] >= 5) {
    msg # 4Congratulations12 $nick $+ 4, You have been recommended enough times for temp voice!
    cs voice # $nick
  }
}

on *:TEXT:!voice*:#:{
  if (%temp [ $+ [ $nick ] ] >= 5) {
    msg # 4Congratulations13 $nick $+ 4, You have been recommended enough times for temp voice!
  }
}

on *:TEXT:!rating*:#:{
  if (!%temp [ $+ [ $nick ] ]) { msg # $nick $+ , you don't have any rating points sorry, 5 more to go, 0/5.
    elseif (%temp [ $+ [ $nick ] ]) { msg # $nick $+ , you currently have %temp [ $+ [ $nick ] ] rating points, !%temp [ $+ [ $nick ] ] $+ /5.
    }
  }
}