All pastes #363964 Raw Edit

Stuff

public text v1 · immutable
#363964 ·published 2007-02-19 20:49 UTC
rendered paste body
On *:JOIN:#: { 
  if ($nick isop $chan) { 
    inc %opusers [ $+ [ $chan ] ] 
    /notice $nick Hello, $nick $+ . You're the $+ %opusers $+ - Operator that joined $chan $+ . 
    halt 
  } 
  if ($nick ishop $chan) { 
    inc %hopusers [ $+ [ $chan ] ] 
    /notice $nick Hello, $nick $+ . You're the $+ %hopusers $+ - Halfop that joined $chan $+ . 
    halt 
  } 
  if ($nick isvoice $chan) { 
    inc %vousers [ $+ [ $chan ] ] 
    /notice $nick Hello, $nick $+ . You're the $+ %vousers $+ - Voice that joined $chan $+ . 
    halt 
  } 
  if ($nick isreg $chan) { 
    inc %regusers [ $+ [ $chan ] ] 
    /notice $nick Hello, $nick $+ . You're the $+ %regusers $+ - User that joined $chan $+ . 
    halt 
  } 
}