on *:TEXT:!av*:#thepc: { if ($nick isop $chan || $nick ishop $chan) { if ($$2 ison $chan) { guser 3 $$2 3 mode $chan +v $$2 notice $nick  $+ $$2 has been added to the AVOICE list. } else { notice $nick  $+ $$2 must be in the channel to be added to the AVOICE list! } } } on 3:JOIN:#thepc: { mode $chan +v $nick } on *:CONNECT: { if ($network == SwiftIRC) { msg NickServ IDENTIFY mode $me +B join #thepc join #thepc.staff } } on *:TEXT:!botpart:#thepc,#thepc.staff: { if ($nick isop $chan) { part $chan !part used by $nick } } on *:TEXT:!global *:#thepc,#thepc.staff: { if ($nick isop $chan || $nick ishop $chan) { amsg 4[Global by $nick $+ 4] 12 $+ $$2-  } } on *:TEXT:!change *:#thepc,#thepc.staff: { if (%pest == on) { if ($nick isop $chan || $nick ishop $chan) { if (%world != $$2-) { set %world $$2- set %nick $nick set %time $ctime amsg 12|| NEW WORLD SET BY $nick || } } else { notice $nick $$2- is already the PC world! | halt } } } on *:TEXT:!pcw:#thepc,#thepc.staff: { if (%pest == on) { notice $nick 4[12Pest-Control4]10 %world 4[12Set by %nick $duration($calc($ctime - %time)) ago $+ 4] [12This command has been used %times times.4] inc %times 1 } } on *:TEXT:!world:#thepc,#thepc.staff: { if (%pest == on) { notice $nick 4[12Pest-Control4]10 %world 4[12Set by %nick $duration($calc($ctime - %time)) ago $+ 4] [12This command has been used %times times.4] inc %times 1 } } on *:TEXT:!peston:#thepc,#thepc.staff: { if ($nick isop $chan && %pest == off) { set %pest on amsg 12 $+ $nick has enabled PEST. } } on *:TEXT:!pestoff:#thepc,#thepc.staff: { if ($nick isop $chan && %pest == on) { set %pest off amsg 12 $+ $nick has disabled PEST. } } on *:TEXT:!rehash *:#thepc,#thepc.staff: { if ($nick isop $chan || $nick ishop $chan) { amsg 4Rehashing the bot. Scripts will reload in $$2 seconds. remote off flood clear timer 1 $$2 remote on timer 1 $$2 lag.start timer 1 $$2 amsg 3The bot has been rehashed. All scripts have been reloaded. } } on 19:TEXT:!varclear:#thepc,#thepc.staff: { unset %world unset %nick unset %time notice $nick Variables cleared. } on 19:TEXT:!disconnect:#thepc,#thepc.staff: { quit !disconnect used by $nick } on 19:TEXT:!reset:#thepc,#thepc.staff: { quit Reset by $nick server $server } on *:TEXT:!lag:#thepc,#thepc.staff: { if ($nick isop $chan) { notice $nick $chr(91) $+ Lag: %zlag.current $+ s $chr(40) $+ Highest: %zlag.highest $+ s Lowest: %zlag.lowest $+ s $+ $chr(41) $+ $chr(93) } } on 19:TEXT:!set %*:#: { set $$2 $$3- notice $nick Variable $$2 set to $$3- } on *:TEXT:!commands:#: { notice $nick 1Commands: 3!pcw, !world, 4!global , !change , !avoice , !av , !lag, !rehash , !pestoff, !peston, !botpart notice $nick 1Owner: 3Exacuter_411 }