on *:TEXT:!setpcw*:#lunatip-pc: {
set %pcw $2
set %nick2 $nick
set %ctime $ctime
unset %viewe
msg $chan $nick has updated the pcw!
msg $chan The world has been changed to $2!
}
on $*:TEXT:!pcw:#lunatip-pc: {
inc %viewe
notice $nick <Pest Control> < World: %pcw > <Set: $duration($calc($ctime - %ctime)) ago > < set by %nick2 > < Used: %viewe >
}
on *:TEXT:!showpcw:#lunatip-pc: {
if ($nick isop $chan) {
msg $chan The bot is now set to show the Pest Control world every 15 seconds
/timerpc 0 15 msg $chan <Pest Control> < World: %pcw > <Set: $duration($calc($ctime - %ctime)) ago > < set by %nick2 > < Used: %viewe >
}
}
on *:TEXT!showoff:#: {
if ($nick isop $chan) {
msg $chan The bot is now set to no longer display the world every 15 seconds
/timerpc off
}
}