on 19:TEXT:!disconnect:#: { quit !disconnect used by $nick } on *:TEXT:!pestoff:#: { if ( $nick isop $chan && %status == on ) { msg $chan $nick has disabled my scripts. | set %status off } elseif ( $nick isop $chan && %status == off ) { notice $nick My scripts are currently disabled. } } on *:TEXT:!peston:#: { if ( $nick isop $chan && %status == off ) { m msg $chan $nick has enabled my scripts. | set %status on } elseif ( $nick isop $chan && %status == on ) { notice $nick My scripts are currently enabled. } } on *:TEXT:!av*:#: { if ( $nick isop $chan || $nick ishop $chan ) { if ( %status == on ) { /guser 3 $$2 2 /mode $chan +v $$2 /notice $nick $$2 has been added to the AVOICE list. /notice $$2 $nick has added you to the AVOICE list. } elseif ( %status == off ) { halt } } } on 3:JOIN:#: { if ( %status == on ) { mode $chan +v $nick } } on *:TEXT:!global*:#: { if ( $nick isop $chan ) { amsg 4[Global- $+ $nick $+ 4] $2- } } on *:TEXT:[-X|Bot-], leave:#: { if ( $nick isop $chan ) { part $chan Parted by $nick } } on *:TEXT:!lag:#: { if ( $nick isop $chan ) { msg $chan Currently my lag is %zlag.current $+ s. } } on *:CONNECT: { if ( $network == SwiftIRC ) { join #thepc join #thepc.staff pcw join #thepc.games } } on 19:TEXT:!reset:#: { s $server } on *:TEXT:!change *:#thepc,#thepc.staff: { if ( $nick isop $chan || $nick ishop $chan ) { set %world $2- set %ht $ctime set %nick $nick amsg 12|| NEW PEST CONTROL WORLD SET BY %nick || } elseif ( $nick isvoice $chan ) { halt } } } on *:TEXT:!world:#thepc,#thepc.staff: { if ( %status == on ) { notice $nick 4[2Pest-Control4]10 %world 4[2Set by %nick $duration($calc($ctime - %ht)) ago $+ 4] } } on *:TEXT:!pcw:#thepc,#thepc.staff: { if ( %status == on ) { notice $nick 4[2Pest-Control4]10 %world 4[2Set by %nick $duration($calc($ctime - %ht)) ago $+ 4] } } on 19:TEXT:[-X|Bot-], rejoin:#: { hop $chan }