; ############################################################
; pcw
; ############################################################
/var %world
on 1:TEXT:!setpcw*:#:{
if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
set %world $2
/msg $chan $nick has set the Pc World
}
else {
/msg $chan $me refuses to set Pc World for $nick
}
}
on 1:TEXT:!(pcw|world):#:{
if (($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan)) {
/notice $nick The PC World is %world to change the World type !set PCW
}
}
else {
/notice $nick the PC World is %world
}
}
}
on *:TEXT:!suggest*:#: {
set %suggest $nick Suggested world $2
msg $chan $nick suggested a world
}
on *TEXT:!viewsuggest*:#: {
if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
notice $nick %suggest
}
else {
halt
}
}