Stuff
public text v1 · immutableon *:TEXT:*!apcw*:#: {
{ if ($nick isop $chan) {
set %pcwsettings. $+ $chan on
msg $chan [ PCW is now ON for $chan ]
}
}
}
on *:TEXT:*!depcw*:#: {
{ if ($nick isop $chan) {
set %pcwsettings. $+ $chan off
msg $chan [ PCW is now OFF for $chan ]
}
}
}
on *:text:!pcw:#: {
{ if (%pcwsettings. [ $+ [ $chan ] ] == on) {
notice $nick the current pcw is %pcw $+.} else {
{ if (%pcwsettings. [ $+ [ $chan ] ] == off) HALT }
}
}
}