All pastes #932874 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-07 23:57 UTC
rendered paste body
;chanstats just echo's percentages of ops, voices, and regs
;the point of setting the variable is because it seems the raw happens twice or something, because it ends up doing chanstats twice, the setting the variable works 'sometimes' but not always, it works about 25% of the time

raw 324:*:{
  if (%raw324 != true) {
    set %chan $2 
    var %modes $3-
    var %raw324 true 
    echo %chan $ts($target) $str($chr(160),3) $in $+ Channel modes: %modes $+ $out 
    chanstats %chan
    unset %chan
    halt 
} }