All pastes #421523 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-02 21:40 UTC
rendered paste body
on *:input:#: {
  if ($left($1,1) != /) && ($1 ison $chan) {
    if ($1 isop $chan) {
      msg $chan 4‡|@ $+ $1 $+ |‡ $2-
      haltdef
    }
    elseif ($1 ishop $chan) {
      msg $chan 7‡|% $+ $1 $+ |‡ $2-
      haltdef
    }
    elseif ($1 isvoice $chan) {
      msg $chan 12‡|+ $+ $1 $+ |‡ $2-
      haltdef
    }
    elseif ($1 isreg $chan) {
      msg $chan 10‡| $+ $1 $+ |‡ $2-
      haltdef
    }
  }
}