on *:TEXT:!setworld*:#Pestcontrol:{
if ($me != Luigi|BOT|) || (%switch = off) halt
if (($nick isop $chan) || ($nick ishop $chan)) {
set %pcw $2
msg #Pestcontrol 14The PestControl world has been changed to7 %pcw
.timerPCW 0 60 msg #Pestcontrol 14The current 7PestControl14 world is7 %pcw
}
}
on *:TEXT:!pcw*:#Pestcontrol:{
if ($me != Luigi|BOT|) || (%switch = off) halt
.notice $nick 14The current 7PestControl14 world is7 %pcw
}
}
on *:TEXT:!world*:#Pestcontrol:{
if ($me != Luigi|BOT|) || (%switch = off) halt
.notice $nick 14The current 7PestControl14 world is7 %pcw
}
on *:TEXT:!off:#pestcontrol: {
if ($me != Luigi|BOT|) halt
if (($nick isop $chan) || ($nick ishop $chan)) {
set %switch off
.timerpcw off
.notice $nick Turned off.
}
}
on *:TEXT:!on:#Pestcontrol: {
if ($me != Luigi|BOT|) halt
if (($nick isop $chan) || ($nick ishop $chan)) {
set %switch on
.notice $nick Turned on.
}
}