If you own a RuneScape PestControl Channel then this is the script for you.
Replace #channel with the name of your Channel.
on *:TEXT:!Setpcw*:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
set %pcw [ $+ [ $chan ] ] $2
set %pctime [ $+ [ $chan ] ] $time
set %pcsetter [ $+ [ $chan ] ] $nick
msg $chan The Pest Control World has changed! Type !Pcw to view it!
else notice $nick Sorry, you need Op or Half-Op to set a PCW!
}
}
on *:TEXT:!Pcw*:#: {
if (%pcw [ $+ [ $chan ] ] == $null) notice $nick There is no PCW set for this channel!
else notice $nick The current PCW for $chan is %pcw [ $+ [ $chan ] ] set by %pcsetter [ $+ [ $chan ] ] at %pctime [ $+ [ $chan ] ] $+ !
}