All pastes #285379 Raw Edit

Anonymous

public text v1 · immutable
#285379 ·published 2006-12-19 20:21 UTC
rendered paste body
on *:TEXT:!setpits *:*:{
  if ($nick isop $chan) || ($nick ishop $chan) || ($address($nick,2) == $address($me,2)) {
    if ($2- isnum 2-138) { 
      set $+(%,pits.,$chan) $2- | set $+(%,pits.,$chan,.nick) $nick | set $+(%,pits.,$chan,.time) $ctime | 
      .msg $chan 4PITS world Updated!!!1 New PITS world was Set by7 $eval($+(%,pcw.,$chan,.nick),2) $+ 1!
      .msg $chan 4New PITS world!1 The New PITS world was Set by7 $eval($+(%,pcw.,$chan,.nick),2) $+ 1! Type !pits To View the Updated World.
      .msg $chan 4New PITS world!1 The New PITS world was Set by7 $eval($+(%,pcw.,$chan,.nick),2) $+ 1! Type !pits To View the Updated World!    
    }
  }
}
on *:text:!pits:*:{ .notice $nick 1The PITS world For10 $chan 1is Currently:1 $eval($+(%,pits.,$chan),2) $+ .1 And Was Last Set6 $duration($calc($ctime - $($+(%,pits.,$chan,.time),2))) 1ago by7 $($+(%,pits.,$chan,.nick),2) $+ 1. 
  elseif ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
    .notice $nick 1The PITS world For10 $chan 1is Currently:1 $eval($+(%,pits.,$chan),2) $+ .1 And Was Last Set6 $duration($calc($ctime - $($+(%,pits.,$chan,.time),2))) 1ago by7 $($+(%,pits.,$chan,.nick),2) $+ 1.
  }
  else { .notice $nick 1,0Voice is required in10 $chan 1,0To See the PITS world.
  }
}