on *:TEXT:!pcw*:#:{ if (%pc [ $+ [ $chan ] ] == 1) { notice $nick 4The current PC world is %world [ $+ [ $chan ] ] $+ . } if (%pc [ $+ [ $chan ] ] == 0) { notice $nick PC worlds are currently off. } }
on *:TEXT:!pc*:#:{ if (%pc [ $+ [ $chan ] ] == 1) { notice $nick 4The current PC world is %world [ $+ [ $chan ] ] $+ . } if (%pc [ $+ [ $chan ] ] == 0) { notice $nick PC worlds are currently off. } }
on *:TEXT:!world*:#:{ if (%pc [ $+ [ $chan ] ] == 1) { notice $nick 4The current PC world is %world [ $+ [ $chan ] ] $+ . } if (%pc [ $+ [ $chan ] ] == 0) { notice $nick PC worlds are currently off. } }
on *:TEXT:!pcworld*:#:{ if (%pc [ $+ [ $chan ] ] == 1) { notice $nick 4The current PC world is %world [ $+ [ $chan ] ] $+ . } if (%pc [ $+ [ $chan ] ] == 0) { notice $nick PC worlds are currently off. } }
on *:TEXT:!setpcw*:#:{ if ($2 isnum 1-143 && %pc [ $+ [ $chan ] ] == 1 && $nick isop $chan) { set %world [ $+ [ $chan ] ] $2
msg $chan 12A new PC world has been set! Type !pcw to find out what it is! }
else { notice $nick 7***[ERROR]*** We were unable to process your request. That may be because you requested an invalid world number, pest-control commands are turned off, or a word was typed.
}
}
on *:TEXT:!pest on*:#:{ if ($nick isop $chan) { set %pc [ $+ [ $chan ] ] 1
notice $nick Pest Control commands are now on. } }
on *:TEXT:!pest off*:#:{ if ($nick isop $chan) { set %pc [ $+ [ $chan ] ] 0
notice $nick Pest Control commands are now off. } }