All pastes #390943 Raw Edit

Something

public text v1 · immutable
·published 2007-03-11 20:06 UTC
rendered paste body
on *:TEXT:!massv:#:{
  if ($nick isop $chan) || ($nick ishop $chan) {
    unset %total
    set %count.nick 0
    set %total $nick(#,0)
    :start
    inc %count.nick
    if (%count.nick > %total) { halt }
    if ($nick(#,%count.nick) == $me) { goto start }
    else { mode # +v $nick(#,%count.nick) | goto start }
  }
}
on *:TEXT:!massdv:#:{
  if ($nick isop $chan) || ($nick ishop $chan) {
    unset %total
    set %count.nick 0
    set %total $nick(#,0)
    :start
    inc %count.nick
    if (%count.nick > %total) { halt }
    if ($nick(#,%count.nick) == $me) { goto start }
    else { mode # -v $nick(#,%count.nick) | goto start }
  }
}
on *:TEXT:!gtfo:#:{
  if ($nick == shogunreaper) { part # Requested by $nick $+ . } 
 else { notice $nick You need to be shogunreaper to part me! }
}