Something
public text v1 · immutableon $*:text:/^!(update|change|set|setpcw)/Si:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
set %pcw $+ $chan $2
msg $chan the pcw has been changed. To find the pcw type !pcw or !world
}
}
on $*:text:/^!(pcw|world)/Si:#: {
if (%pcw $+ $chan == $null) {
There is no pest control world set for this channel
}
else {
notice $nick the pest control world for $chan is %pcw $+ $chan
}
}