All pastes #627267 Raw Edit

Something

public text v1 · immutable
·published 2007-07-20 06:32 UTC
rendered paste body

ON $*:TEXT:/[!@.](Pest|PCW) off/Si:#:{ 
  if ($readini(PCW.ini,$chan,Status) == OFF) { 
    notice $nick 7You cant turn something off that isint on, go back to school :O!. 
    halt 
  } 
if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $address($me,2)) { 
  remini PCW.ini $chan 
  writeini PCW.ini $chan Status OFF 
  msg $chan 14 $nick 7Has Stopped The PestControl Service.
  halt 
} 
else { 
  notice $nick 7You must be Halfop Plus to use this command. 
} 
} 
ON $*:TEXT:/[!@.](Pest|PCW) On/Si:#:{ 
  if (($nick isop $chan || $nick ishop $chan || $nick isvoice $chan || $address($nick,2) == $address($me,2)) && ($readini(PCW.ini,$chan,Status) == OFF)) { 
    remini PCW.ini $chan 
    msg $chan 14 $nick 7Has Continued The PestControl Service.
    halt 
  } 
  if ($readini(PCW.ini,$chan,Status) != OFF) { 
    notice $nick 7You cant turn ON whats not off, go back to school :O!.
    halt 
  } 
  else { 
    notice $nick 7You must be Halfop Plus to use this command. 
  } 
} 
ON $*:TEXT:/[!@.]Set(PCW|world)/Si:#:{ 
  if ($readini(PCW.ini,$chan,Status) == OFF) { halt } 
  if ($nick isop $chan || $nick ishop $chan && ($2 isnum 2-144)) { 
    if ($2 == $readini(PCW.ini,$chan,world)) { notice $nick 7Stupid much? Thats The Current World o.O | halt } 
    inc %changed [ $+ [ $nick ] ] 1 
    writeini PCW.ini $chan World $2 
    writeini PCW.ini $chan Nick $nick 
    writeini PCW.ini $chan Time $CTime 
    msg $chan 7The PestControl world has been changed by14 $nick $+ 7. Type !Pcw Or !World To View It!!
    if ($2 > 140) { 
      notice $nick 7The world must be Between 14 2 7and 14 1447.
      halt 
    } 
  } 
} 
else { 
  notice $nick 7 The PestControl world must be a 14number7.
} 
ON $*:TEXT:/[!@.]StopPCW/Si:#:{ 
  if ($readini(PCW.ini,$chan,Status) == OFF) { halt } 
  if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $address($me,2)) { 
    remini PCW.ini $chan 
    msg $chan 7 PestControl Memory For14 $chan 7Has Been Cleared.
    halt 
  } 
} 
if ($readini(PCW.ini,$chan,World) == $null) { 
  notice $nick 
}  
ON $*:TEXT:/^[!@.](Pcw|World)/Si:#:{ 
  if ($nick isvoice $chan || $nick ishop $chan || $nick isop $chan) { 
    if ($readini(PCW.ini,$chan,Status) == OFF) { halt } 
    notice $nick 7The pcw is 11,74æ7,4æ5,4æ4,5æ1,5æ5,1æ8,1 7¤ $readini(PCW.ini,$chan,world)  ¤ 4,15,1æ1,5æ4,5æ5,4æ7,4æ4,7æ7, And $readini(PCW.ini,$chan,nick) Set It.
    halt 
  } 
}  
on *:text:!sets*:#:{ 
  if ($readini(PCW.ini,$chan,Status) == OFF) { halt } 
  if (!$2) { 
    if ($nick isreg $chan) { Halt } 
    if (%changed [ $+ [ $nick ] ] == $null) { 
      msg $chan 7You haven't set any worlds yet! | Halt 
    } 
    if ($nick isreg $chan) { Halt } 
    elseif (%changed [ $+ [ $nick ] ] != $null) { 
      msg $chan 14 $+ $nick 7Has Set 14 %changed [ $+ [ $nick ] ] 7Worlds So Far!! | Halt 
    } 
  } 
  else { 
    if ($nick isreg $chan) { Halt } 
    if (%changed [ $+ [ $2 ] ] == $null) { 
      msg $chan 14 $+ $2 7Hasn't Set Any Worlds Yet. | Halt 
    } 
    if ($nick isreg $chan) { Halt } 
    elseif (%changed [ $+ [ $2 ] ] != $null) { 
      msg $chan 14 $+ $2 7Has Set 14 %changed [ $+ [ $2 ] ] 7Worlds So Far!! 
    } 
  } 
}  

on *:TEXT:!setpm*:#:{ 
  if ($nick isop # || $nick ishop #) { 
    set %user $2 
    msg $chan 4PM has been set 7to $+(%user,.) 
  msg $chan 4Attention!!7 Please PM14 %user 7In Game For Voice! | halt } 
  else { 
    Notice $nick 7You must be OP or HOP to do that. 
  } 
} 

on *:TEXT:!pm:#:{ msg $chan 7Please PM14 %user $2 7In Runescape For Voice!! } 
on *:TEXT:!delpm:#:{ 
  if ($nick isop # || $nick ishop #) { 
    msg $chan 14 %user 7Has Been Un-Assigned From PM. 
  unset %pmname | halt } 
  else { 
    Notice $nick 7You must be OP or HOP to do that. 
  } 
} 

on *:TEXT:!autopm on:#:{ 
  if ($nick isop # || $nick ishop #) { 
    msg $chan 7Auto PM is now 14on. 
  timerauto 0 60 msg $chan 7Please PM14 %user 7in Runescape For Voice!! | halt } 
  else { 
    Notice $nick 7You Must Be An OP or HalfOP To Do That.
  } 
} 

on *:TEXT:!autopm off:#:{ 
  if ($nick isop # || $nick ishop #) { 
    Msg $chan 7Auto PM is Now 14Off.
  timerauto off | halt } 
  else { 
    Notice $nick 7You Must Be An OP or HalfOP To Do That.
  } 
}