on *:TEXT:!bpcoff:#pc: { if (%pcscript == off) { halt } elseif ($nick isop $chan || $nick ishop $chan || $nick isvoice $chan) { set %pcscript off msg $chan 8,1Pestcontrol script turned off blame 9,1 $nick $+ . timerpc off } } on *:TEXT:!bpcon:#pc: { if (%pcscript == on) { halt } elseif ($nick isop $chan || $nick ishop $chan || $nick isvoice $chan) { set %pcscript on timerpc 0 30 9,1The current pc world is8,1 %pcw $+ . msg $chan 8,1Pestcontrol script turned on thank 9,1 $nick . } } on $*:text:/^[!](change|setworld|setpcw) */Si:#pcstaff: { if (%pcscript == off) { halt } if (%pcres == 45) { unset %pcres quit O lag protection uc? server irc.swiftirc.net +6697 } elseif ($nick isop $chan || $nick ishop $chan || $nick isvoice $chan) && ($2 isnum 2-144) { set %pcw $2 inc %pcres set %pcname $nick set %pctime $ctime msg $chan 8,1The pcworld has been changed to9,1 %pcw 8,1by9,1 $nick } } } on $*:text:/^[!](pcw|world)/Si:#pcstaff: { if (%pcscript == off) { halt } if (%pcres == 45) { unset %pcres quit O lag protection uc? server irc.swiftirc.net +6697 } else { inc %pcused inc %pcres { notice $nick 8,1The current pcw is9,1 %pcw 8,1set by 9,1 %pcname 8,1 set9,1 $duration($calc($ctime - %pctime)) 8,1 ago. This command has been used %pcused times. } } }