on *:text:!timer on*:#: {
if ($Nick ishop $chan || $Nick isop $chan) {
;Gave the timer the name of $chan (so it's unique for every channel) and changed it so the repetitions parameter is '0' (infinite repetitions)
.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) {
;Turn off the timer
.timer $+ $chan off
notice $Nick timer is now off for $chan
}
}