on *:TEXT:!setpcw*:#:{
var %output = $iif($left($1,1) == !,.notice $nick,.msg $chan)
if (( $nick isreg $chan ) || ( $nick isvoice $chan )) { halt }
else {
set %event. $+ $chan $2-
set %pcchange. $+ $chan $ctime
msg $chan 12[ 4 $nick has changed the current pest control to world $2 on $chan ! 12]
}
}
}
on $*:TEXT:/^(!|@)world/i:#: {
var %output = $iif($left($1,1) == !,.notice $nick,.msg $chan)
if (%pcchange. [ $+ [ $chan ] ] == $null) { %output A PCW Was never Set for $chan Please type !setpcw to Set one | halt } else {
%output 7[ The best world for Pest Control is:4 %event. [ $+ [ $chan ] ] 7] [Last Changed:4 $duration($calc($ctime - %pcchange. [ $+ [ $chan ] ] )) 7] [TIMES USED :4 %pnum | inc %pnum 12] }
}
on $*:TEXT:/^(!|@)pcw/i:#: {
var %output = $iif($left($1,1) == !,.notice $nick,.msg $chan)
if (%pcchange. [ $+ [ $chan ] ] == $null) { %output A PCW Was never Set for $chan Please type !setpcw to Set one | halt } else {
%output 7[ The Best world for Pest Control is:4 %event. [ $+ [ $chan ] ] 7] [Last Changed:4 $duration($calc($ctime - %pcchange. [ $+ [ $chan ] ] )) 7] [TIMES USED :4 %pnum | inc %pnum 12] }
}
if (( $nick isreg $chan ) || ( $nick isvoice $chan )) { halt }