on *:TEXT:!setpcw*:#pcelites: {
if ($2 isnum 2-140) && ($nick isop $chan) ($nick ishop $chan) {
set %pcw $2
set %nick2 $nick
set %ctime $ctime
unset %viewe
msg $chan 5 $nick has updated the pcw!
msg $chan 5The world has been changed to $2!
}
}
on *:TEXT:!showon:#pcelites: {
if ($nick isop $chan) {
msg $chan 4The bot is now set to show the Pest Control world every 20 seconds
/timerpc 0 20 msg $chan 4<#pcelites> 4< World: %pcw > 4< set by %nick2 >
}
}
on *:TEXT:!showoff:#pcelites: {
if ($nick isop $chan) {
msg $chan 12The bot is now set to no longer display the world every 20 seconds
/timerpc off
}