on $*:text:/^[@](world|pcw) */Si:#: { if (%pc. [ $+ [ $chan ] ] == off) { notice $nick type !pc on first } if (%pc. [ $+ [ $chan ] ] == $null) { notice $nick type !pc on first } elseif (%pc. [ $+ [ $chan ] ] == on) { if ($nick isvoice $chan) || ($nick ishop $chan) || ($nick isop $chan) { if (%pcw. [ $+ [ $chan ] ] == $null) { amsg $nick no world has been set, type !setworld to set one } else { amsg $nick The Pest Control World is %pcw. [ $+ [ $chan ] ] Last updated $duration($calc( $ctime - %pctime [ $+ [ $chan ] ] )) ago - by %pcnick [ $+ [ $chan ] ] } else { amsg $nick U need to be voice+ to view the world. } } elseif (%pc. [ $+ [ $chan ] ] == off) { amsg $nick Pest control is off for this channel. }