on *:text:!bot*:#fastpcw:{ if ($nick isop $chan) || ($nick ishop $chan) && ($2 == on) || ($2 == off) {
if ($2 == on) set %boton on
if ($2 == off) unset %boton } }
on *:TEXT:!setpcw*:#:{ if (%boton) {
if ($nick isop $chan) || ($nick ishop $chan) {
if ($2 isnum 2-140) {
set %pcw $2
set %pcnick $nick
set %pctime $ctime
msg $chan [« PCW Updated, type !pcw to view »] [« By: %pcnick »] [« %suggest2 »]
}
}
} }
on *:TEXT:!suggest*:#:{ if (%boton) {
if ($2 isnum 2-140) {
set %suggest1 World: $2
set %snick $nick
set %suggest2 Description: $3-
notice $nick Thanks for the suggestion an operator is now reading the suggestion.
msg $chan [« New suggestion »] [« By: %snick »] [« %suggest1 »] [« %suggest2 »]
}
} }
on *:TEXT:!pcw*:#:{ if (%boton) {
if ($nick !isreg $chan) {
notice $nick [« Current world: %pcw »] [« By: %pcnick »] [« Set $duration($calc($ctime - %pctime)) ago. »]
}
else {
notice $nick Voice+ users may only use this command.
}
} }