##################### ;For use of #fastpc only. ;Made by G-Owned for the #fastpc channel. ;Commands: !pm, !rules, !setrule, !setpcw, !setworld, !pcw, !world, !aov ;Version v1.0 ;Please leave the copyright messages in. ##################### on *:CONNECT:#:{ /nick FasTPcBot?? /join #fastpc } on *:JOIN:#:{ if ($nick == $me) { msg $chan 10The official #fastpc bot scripted and made by G-Owned. $me is using version v1.0 } } on *:TEXT:!pm:#:{ if ($nick isop $chan) || ($nick ishop $chan) { msg $chan 10[0:00] Please can all un-voiced users private message $nick on Runescape for validation and voice. | .timer 1 5 msg $chan 10[0:05] Please can all un-voiced users private message $nick on Runescape for validation and voice. } else { notice $nick 10You cannot use this command. } } on *:TEXT:!rules:#:{ if ($nick isop $chan) || ($nick ishop $chan) { msg $chan 10The current rules for $chan $+ : %rule [ $+ [ $chan ] ] [Last Updated: %ruletime [ $+ [ $chan ] ] $+ ] } else { notice $nick 10You cannot use this command. } } on *:TEXT:!setrule *:#:{ if ($nick isop $chan) || ($nick ishop $chan) { set %rule [ $+ [ $chan ] ] $2- | set %ruletime [ $+ [ $chan ] ] $fulldate | notice $nick 10You have succesfully changed the $chan rules for the bot $me $+ . } else { notice $nick 10You cannot use this command. } } on $*:TEXT:/^[!@.](set(pcw|word)?)/Si:#: { if ($nick isop $chan) || ($nick ishop $chan) && ($2 isnum 2-138) { set %pcworld [ $+ [ $chan ] ] $2 | set %pctime [ $+ [ $chan ] ] $fulldate | set %pcnick [ $+ [ $chan ] ] $nick | set %pcuse [ $+ [ $chan ] ] on | msg $chan 10[0:00] The Pest Control world has been updated. Please type !pcw or !world to view it. | .timer 1 5 msg $chan 10[0:05] The Pest Control world has been updated. Please type !pcw or !world to view it. } else { notice $nick 10You cannot use this command. } } on *:TEXT:!pcw:#:{ if (%pcuse [ $+ [ $chan ] ] == on) { notice $nick 10The current pest control world is %pcworld [ $+ [ $chan ] ] and was set by %pcnick [ $+ [ $chan ] ] $+ . Last Updated: %pctime [ $+ [ $chan ] ] $+ . } else { notice $nick 10There is no world set for $chan $+ . } } on *:TEXT:!world:#:{ if (%pcuse [ $+ [ $chan ] ] == on) { notice $nick 10The current pest control world is %pcworld [ $+ [ $chan ] ] and was set by %pcnick [ $+ [ $chan ] ] $+ . Last Updated: %pctime [ $+ [ $chan ] ] $+ . } else { notice $nick 10There is no world set for $chan $+ . } } on *:TEXT:!aov *:#:{ if ($nick isop $chan) || ($nick ishop $chan) && ($me isop $chan) { cs access $chan add $2 3 | msg $chan 10Added $2 to the ChanServ Access 3 list. } else { notice $nick 10You cannot use this command. } }