All pastes #631026 Raw Edit

Someone

public text v1 · immutable
#631026 ·published 2007-07-23 17:31 UTC
rendered paste body
on $*:TEXT:/^(!setpcw1|!setworld1)/Si:#:{
  if ($nick isop $chan || $nick ishop $chan || $nick == Daryl|) {
    if (%haltpccommands [ $+ [ $chan ] ] == off) { HALT }
    if ($2 >= 145) {
    notice $nick 3[14*4PestControl14*3]14The world must be Between4 2 14and4 144 | halt }
    else {
      writeini -n world.ini pcw $chan pcw
      $iif($2 != $null,writeini -n world.ini pc $chan $2,writeini -n world.ini pc $chan No world set)
      writeini -n world.ini time $chan $ctime
      .msg $chan 4[1400:004] - - 3[14*4PestControl14*3]14 world has been4 Updated 5For 40+ Boat
      timer 1 5 msg # 4[1400:054] - - 3[14*4PestControl14*3]14 world has been4 Updated 5For 40+ Boat
    }
  }
}

on $*:TEXT:/^(!setpcw2|!setworld2)/Si:#:{
  if ($nick isop $chan || $nick ishop $chan || $nick == Daryl|) {
    if (%haltpccommands [ $+ [ $chan ] ] == off) { HALT }
    if ($2 >= 145) {
    notice $nick 3[14*4PestControl14*3]14The world must be Between4 2 14and4 144 | halt }
    else {
      writeini -n world.ini pcw $chan pcw
      $iif($2 != $null,writeini -n world2.ini pc $chan $2,writeini -n world2.ini pc $chan No world set)
      writeini -n world2.ini time $chan $ctime
      .msg $chan 4[1400:004] - - 3[14*4PestControl14*3]14 world has been4 Updated 5For 70+ Boat
      timer 1 5 msg # 4[1400:054] - - 3[14*4PestControl14*3]14 world has been4 Updated 5 For 70+ Boat
    }
  }
}
on $*:TEXT:/^(!setpcw3|!setworld3)/Si:#:{
  if ($nick isop $chan || $nick ishop $chan || $nick == Daryl|) {
    if (%haltpccommands [ $+ [ $chan ] ] == off) { HALT }
    if ($2 >= 145) {
    notice $nick 3[14*4PestControl14*3]14The world must be Between4 2 14and4 144 | halt }
    else {
      writeini -n world.ini pcw $chan pcw
      $iif($2 != $null,writeini -n world3.ini pc $chan $2,writeini -n world3.ini pc $chan No world set)
      writeini -n world3.ini time $chan $ctime
      .msg $chan 4[1400:004] - - 3[14*4PestControl14*3]14 world has been4 Updated 5For 100+ Boat
      timer 1 5 msg # 4[1400:054] - - 3[14*4PestControl14*3]14 world has been4 Updated 5For 100+ Boat
    }
  }
}

on $*:TEXT:/^(!pcw|!world)/Si:#:{
  if ($readini(world.ini,n,pcw,$chan)) {
    if (%haltpccommands [ $+ [ $chan ] ] == off) { HALT }
    if ($chan == #bestpc) { halt }
    notice $nick 3[14 40+ Boat 3:1 $readini(world.ini,n,pc,$chan) 3]3[14 70+ Boat 3:1 $readini(world2.ini,n,pc,$chan) 3]3[14 100+ Boat 3:1 $readini(world3.ini,n,pc,$chan) 3]
  }
}