Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

Mass Commands

Recommended Posts

  • Administrators
Description: Mass op and deop commands...

 

>;/mdeop to deop all users , /massop to op them all !;3rd verion of them , i believe that this is the fastest !/mdeop {var %chan = $active  if ($me isop %chan) {     set %i 1    set %Var.Index 1    set %Var.Num 5     :start    set %Var.User $opnick(%chan,%i)    if (%Var.User == $null) {       if ($me isop %chan) { raw -q mode %chan -ooooo %Var.Nick }      unset %Var.Nick %i %Var.Index %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 -ooooo %Var.Nick }        unset %Var.Nick        set %Var.Index 1         inc %i 1         goto start      }      inc %Var.Index 1    }      inc %i  1    goto start  }}massop {var %chan = $active  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  }}

Link to comment
Share on other sites



×
×
  • Create New...