on *:TEXT:`setpcw*:#Thepc.staff:{ if ($address($nick,2) == $address($me,2)) || ($nick isop $chan) { set %rank $2- msg #ThePC The current world has been updated. Type !pcw or !world set by $nick $+ . } } on $*:TEXT:/^!(pcw|world)/iS:#Thepc:{ if (!%rank) { halt } if ($nick($chan,$nick,vho)) { notice $nick The Current Pcw is: %rank } else { notice $nick voice or higher only. } } on *:Text:`kb*:#Thepc:{ if ($address($2,2) == $address($me,2)) { halt } if ($address($nick,2) == $address($me,2)) || ($nick isop $chan) || ($nick ishop $chan) { mode $chan +b $address($2,2) KICK $chan $2 $3- } } on *:TEXT:`k*:#Thepc:{ if ($address($2,2) == $address($me,2)) { halt } if ($address($nick,2) == $address($me,2)) || ($nick isop $chan) || ($nick ishop $chan) { KICK $chan $2 $3- } } on $*:TEXT:/^[!@.](kick|k) \w+/i:#: { if ($nick ishop #) || ($nick isop #) { if (($me ishop #) || ($me isop #)) { if ($$2 == $me) notice $nick You cannot kick this person elseif ($$2 ison #) { if ($nick ishop #) && ($$2 isop #) notice $nick You cannot kick an op! elseif ($nick ishop #) && ($$2 ishop #) notice $nick You cannot kick a halfop! else { inc %knum kick # $$2 $3- Pwnt %knum } } on *:TEXT:!clear:#Thepc:{ if ($nick isop #) || ($nick ishop #) { unset %rank } } on *:TEXT:~rehash *:#thepc,#thepc.staff: { if ($nick isop $chan || $nick ishop $chan) { amsg Rehashing the bot. Scripts will reload in $$2 seconds. remote off timer 1 $$2 remote on timer 1 $$2 amsg The bot has been rehashed. All scripts have been reloaded. } }