All pastes #285382 Raw Edit

Stuff

public text v1 · immutable
#285382 ·published 2006-12-19 20:23 UTC
rendered paste body
on *:TEXT:!setpits *:*:{
  if ($nick isop $chan) || ($nick ishop $chan) {
    if ($2- isnum 2-140) { 
      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!
else { halt }    
    }
  }
}
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.
  }
}