on $*:text:/^[!](world|pcw) */Si:#:{
if (%pcoff) { | halt }
inc %pcused | inc %res | rescheck
notice $nick The current Pest Control World is:3 %pcworld set by3 %pcnick $+($duration($calc($ctime - %pctime)),) ago. Command used3 %pcused times. }
on *:text:!pcon:#:{ if ($nick isop $chan || $nick ishop $chan) {
if (!%pcoff) { notice $nick Status is already ON! | halt }
msg $chan 12,15P15,12C12,15W15,12-12,15E15,12N12,15A15,12B12,15L15,12E12,15D15,12!
unset %pcoff } }
on *:text:!pcoff:#:{ if ($nick isop $chan || $nick ishop $chan) {
if (%pcoff) { notice $nick Status is already OFF! | halt }
msg $chan 12,15P15,12C12,15W15,12-12,15D15,12I12,15S15,12A12,15B15,12L12,15E15,12D12,15!
set %pcoff on } }
alias rescheck { if (%res >= 45) { timer 1 45 quit Command Restart | server irc.swiftirc.net -j #pc,#pcstaff } }
on *:text:!change*:#:{
if ($nick isreg $chan) { notice $nick You cannot change the world! | halt }
if (%pcoff) { | halt }
set %pctime $ctime | set %pcnick $nick | set %pcworld $2- | inc %res | rescheck
msg $chan 14**[[7UPDATE14]]1 World Changed to 14[7 %pcworld 14]1 by 14[7 %pcnick 14]**
}