All pastes #591812 Raw Edit

Anonymous

public text v1 · immutable
#591812 ·published 2007-06-27 12:33 UTC
rendered paste body
on $*:TEXT:/^[.!@](setpcw|setworld|change)/Si:#mainpc-staff:{ 
  if ($2 == %pcworld [ $+ [ #mainpc ] ]) {
    notice $nick 2This world has already been set!
  }
  else {
    if ($3 == na) { 
      set %pcsetter [ $+ [ #mainpc ] ] N/A
      set %pcworld [ $+ [ #mainpc ] ] $2
      set %pcwtime. [ $+ [ #mainpc ] ] $ctime 
      /timer 2 0 /msg #mainpc 2The World Has Been Updated by4 %pcsetter [ $+ [ #mainpc ] ] $+ 2! New World:4 %pcworld [ $+ [ #mainpc ] ] $+ 2.
      /timer 0 20 /msg #mainpc 2 The Current Pestcontrol world is 4 %pcworld Last Updated:4 $duration($calc( $ctime - %pcwtime. [ $+ [ #mainpc ] ] )) $+ 2. 
    }
  }
  else {
    set %pcsetter [ $+ [ #mainpc ] ] $nick
    set %pcworld [ $+ [ #mainpc ] ] $2
    set %pcwtime. [ $+ [ #mainpc ] ] $ctime 
    /timer 1 0 /msg +#MainPC 2The World Has Been Updated by4 %pcsetter [ $+ [ #mainpc ] ] $+ 2! New World:4 %pcworld [ $+ [ #mainpc ] ] $+ 2.
    /timer 0 20 /msg #mainpc 2 The Current Pestcontrol world is 4 %pcworld Last Updated:4 $duration($calc( $ctime - %pcwtime. [ $+ [ #mainpc ] ] )) $+ 2. 
  }
}
}
on *:text:!stoppcm:#: {
if (!%pcworld [ $+ [ #mainpc ] ]) {
  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 [ $+ [ #mainpc ] ]) {
  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 [ $+ [ #mainpc ] ]) {
  notice $nick 2PC have already been set off!
}
elseif ($nick ishop $chan || $nick isop $chan) {
  set %pcstopper [ $+ [ #mainpc ] ] $nick
  unset %pcworld [ $+ [ #mainpc ] ]
  unset %pcsetter [ $+ [ #mainpc ] ]
  timer1 off
  notice $nick 2No pc world anymore!
}
}