/var %world
on 1:TEXT:!setpcw*:#:{
if ($nick isop $chan) {
set %world 1
set %nick 1
/msg $chan The Pest-Control world has been changed! Type !pcw to view it.
}
else {
/notice $nick You aren't allowed to do that.
}
}
on 1:TEXT:!pcw*:#:{
if (($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan)) {
/notice $nick 10The Pest-Control World is4 %world 10( set by4 %nick 10)
}
else {
/notice $nick 10The Pest-Control World is4 %world 10( set by4 %nick 10)
}
}
on 1:TEXT:!world*:#:{
if (($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan)) {
/notice $nick 10The Pest-Control World is4 %world 10( set by4 %nick 10)
}
else {
/notice $nick 10The Pest-Control World is4 %world 10( set by4 %nick 10)
}
}
on 1:TEXT:!delpcw:#:{
if ($nick isop $chan)
set %pcw not set
set %nick not set
msg $chan The Pest-Control world has been deleted. Type !setpcw to set it.
}
}