All pastes #239012 Raw Edit

Stuff

public text v1 · immutable
·published 2006-11-05 05:06 UTC
rendered paste body
on *: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 } 
    } 
  } 
}