on *:text:!pestc on:#:{
if ($nick isop #) {
set %pcscript on
/msg $chan Pest control script is now on, set by $nick
}
}
on *:text:!pestc off:#:{
if ($nick isop #) {
set %pcscript off
/msg $chan Pest control script is now off, set by $nick
}
}
on *:text:!setworld*:#:{
if (%pcscript == off) { HALT }
if ($nick isop #) {
set %pcw $2-
/msg $chan Pest control changed by $nick !world to view it.
on *:text:!world:#:{
/notice $nick The pest control world is %pcw
}
ON *:TEXT:!av*:#:{
if ($nick isop $chan) || ($nick ishop $chan) || ($nick == gazisere) {
writeini AVLIST.ini ADRESSES $address($2,2) $2
msg $chan $c1 added $2 to auto voice list
/mode $chan +v $2
}
}
on *:join:#:{
if ($readini(AVLIST.ini,ADRESSES,$address($nick,2))) {
/mode $chan +v $nick
}
}
on *:text:!off:#:{
if ($nick isop $chan) || ($nick ishop $chan) {
/timers off
/msg $chan Timers are now off, turned off by $nick
}
}
on *:text:!on:#:{
if ($nick isop $chan) || ($nick ishop $chan) {
/timer 0 20 /msg # 4The current 12[[Pest Control]]4 world for 12[[#]]4 is:9 %world
}
}