All pastes #590617 Raw Edit

Something

public text v1 · immutable
#590617 ·published 2007-06-26 18:01 UTC
rendered paste body
on $*:TEXT:/^[.!@](setpcw|setworld|change)/Si:#mainpc-staff:{ 
  if ($2 == %pcworld [ $+ [ #fastpcw ] ]) {
    notice $nick 2This world has already been set!
  }
  else {
    if ($3 == na) { 
      set %pcsetter [ $+ [ #fastpcw ] ] N/A
      set %pcworld [ $+ [ #fastpcw ] ] $2
      set %pcwtime. [ $+ [ #fastpcw ] ] $ctime 
      /timer 2 0 /msg #fastpcw 2The World Has Been Updated by4 %pcsetter [ $+ [ #nucs ] ] $+ 2! New World:4 %pcworld [ $+ [ #fastpcw ] ] $+ 2.
      /timer 0 20 /msg #fastpcw 2The Current Pestcontrolworld is 4 %pcworld
    }
    else {
      set %pcsetter [ $+ [ #fastpcw ] ] $nick
      set %pcworld [ $+ [ #fastpcw ] ] $2
      set %pcwtime. [ $+ [ #fastpcw ] ] $ctime
    /timer 1 0 /msg #FASTPCW 2The World Has Been Updated by4 %pcsetter [ $+ [ #fastpcw ] ] $+ 2! New World:4 %pcworld [ $+ [ #fastpcw ] ] $+ 2.
    /timer 0 20 /msg #fastpcw 2The Current Pestcontrolworld is 4 %pcworld
  . 
    }
  }
}
on *:text:!stoppcm:#: {
  if (!%pcworld [ $+ [ #fastpcw ] ]) {
    msg $chan 2World isn't even set!
  }
  else {
    timer1 off 
    msg $chan 2Auto pc world messaging has been ended type !pcw to view the world!
  }
}
off $*:TEXT:/^[.!@](pcw|world|w)/Si:#:{ 
  if (!%pcworld [ $+ [ #fastpcw ] ]) {
    msg $chan 2There is no pc world anymore. PC is stopped by %pcstopper [ $+ [ #fastpcw ] ] $+ . Ask him/her why he stopped PC or ask if PC may be set again.
  }
  else {
    notice $nick 2Current World:4 %pcworld [ $+ [ #fastpcw ] ] $+ 2. Set by:4 %pcsetter [ $+ [ #fastpcw ] ] $+ 2. Last Updated:4 $duration($calc( $ctime - %pcwtime. [ $+ [ #fastpcw ] ] )) $+ 2. 
  }
}
on *:text:!stoppcw:#: {
  if (!%pcworld [ $+ [ #fastpcw ] ]) {
    notice $nick 2PC have already been set off!
  }
  elseif ($nick ishop $chan || $nick isop $chan) {
    set %pcstopper [ $+ [ #fastpcw ] ] $nick
    unset %pcworld [ $+ [ #fastpcw ] ]
    unset %pcsetter [ $+ [ #fastpcw ] ]
    timer1 off
    notice $nick 2No pc world anymore!
  }
}