All pastes #533776 Raw Edit

Something

public text v1 · immutable
·published 2007-06-03 16:00 UTC
rendered paste body
on $*:text:/^!(update|change|set|setpcw)/Si:#: {
  if ($nick isop $chan) || ($nick ishop $chan) {
    set %pcw $+ $chan $2
    msg $chan the pcw has been changed. To find the pcw type !pcw or !world
  }
}
on $*:text:/^!(pcw|world)/Si:#: {
  if (%pcw $+ $chan == $null) {
    There is no pest control world set for this channel 
  }
  else {
    notice $nick the pest control world for $chan is %pcw $+ $chan
  }
}