Mass @

By wikkedfin on Dec 11, 2009

Put this in Aliases then in a channel type /mopfast, but it's mainly made for a bot.

mopfast {
  if ($me isop %chan) {
    set %i 1
    set %Var.Index 1
    set %Var.Num 6 
    :start
    set %Var.User $nopnick(%chan,%i)
    if (%Var.User == $null) { 
      if ( $me isop %chan ) { .raw -q mode %chan +oooooo %Var.Nick }
      unset %Var.Nick | unset %i | unset %Var.Index | unset %Var.Num
      halt 
    }
    if (%Var.User == $me) { inc %i 1 | goto start }
    if (%Var.User != $me) {
      set %Var.Nick %Var.User %Var.Nick
      if (%Var.Index == %Var.Num) { 
        if ( $me isop %chan ) { .raw -q mode %chan +oooooo %Var.Nick }
        unset %Var.Nick
        set %Var.Index 1 
        inc %i 1 
        goto start
      }
      inc %Var.Index 1
    }  
    inc %i 1 
    goto start
  }
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.