ON *:TEXT:!setworld *:?:{
if ($nick isop $channel) {
set %world $2-
/amsg The current Pest Control World has been updated. !world to view. (voice +)
}
elseif ($nick ishop $channel) {
set %world $2-
/amsg The current Pest Control World has been updated. !world to view. (voice +)
}
else {
/notice $nick You're not allowed to set the Pest Control World.
}
}
ON *:TEXT:!world:[?#]:{
if ($nick isop $chan) {
/notice $nick The current Pest Control World is: %world $+ .
}
elseif ($nick isop $chan) {
/notice $nick The current Pest Control World is: %world $+ .
}
elseif ($nick isop $chan) {
/notice $nick The current Pest Control World is: %world $+ .
}
else {
/notice $nick You're not allowed to view the Pest Control World.
}
}