code:
on *:text:!setworld1*:#: {
if ($2 isnum 1 - 144) {
if ($Nick isop $chan || $nick ishop $chan) {
set %pestworld1 [ $+ [ $chan ] ] $2
msg $chan 10 A new pestcontrol world has been set for 4boat 110, type !pcw to see it
}
}
}
on *:text:!setworld2*:#: {
if ($2 isnum 1 - 144) {
if ($Nick isop $chan || $nick ishop $chan) {
set %pestworld2 [ $+ [ $chan ] ] $2
msg $chan 10 A new pestcontrol world has been set for 4boat 210, type !pcw to see it!
}
}
}
on *:text:!setworld3*:#: {
if ($2 isnum 1 - 144) {
if ($Nick isop $chan || $nick ishop $chan) {
set %pestworld3 [ $+ [ $chan ] ] $2
msg $chan 10 A new pestcontrol world has been set for 4boat 310, type !pcw to see it!
}
}
}
on *:text:!pcw*:#: {
notice $nick 10 The pestcontrol world set for4 $chan 10is currently4 ||10W %pestworld1 [ $+ [ $chan ] ] for 40+ 4||10 W %pestworld2 [ $+ [ $chan ] ] for 70+4 ||10W %pestworld3 [ $+ [ $chan ] ] for 100+!4 ||
}
on *:text:!timer on*:#: {
if ($Nick ishop $chan || $Nick isop $chan) {
.timer $+ $chan 0 25 msg $chan 10 The pestcontrol world set for4 $chan 10is currently4 ||10W %pestworld1 [ $+ [ $chan ] ] for 40+ 4||10 W %pestworld2 [ $+ [ $chan ] ] for 70+4 ||10W %pestworld3 [ $+ [ $chan ] ] for 100+!4 ||
notice $Nick timer is now on for $chan
}
}
on *:text:!timer off*:#: {
if ($Nick ishop $chan || $Nick isop $chan) {
.timer $+ $chan off
notice $Nick timer is now off for $chan
}
}