on *:text:*:#: {
if ($1 == !pc) || if ($1 == !pcw) || if ($1 == !world) {
if (%world [ $+ [ $chan ] ] == $null) {
/notice $nick $chan Doesnt Have A Pest Control World!
}
Else {
/notice $nick The Current Pest Control World For $chan Is %world [ $+ [ $chan ] ]
}
}
if ($1 == @pc) || if ($1 == @pcw) || if ($1 == @world) {
if (%world [ $+ [ $chan ] ] == $null) {
/notice $nick $chan Doesnt Have A Pest Control World!
}
Else {
/msg $chan The Current Pest Control World For $chan Is %world [ $+ [ $chan ] ]
}
}
}
on *:text:!setworld*:#: {
if ($nick isop $chan) {
set %world [ $+ [ $chan ] ] $2
/msg $chan The New Pest Control World For $chan Is $2
}
Else {
/notice $nick You Are Not A Op in $chan
}
}