mIRC Home    About    Download    Register    News    Help

Print Thread
#130053 12/09/05 03:39 PM
Joined: May 2005
Posts: 79
M
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 79
I have used the search feature to look through peoples mass mode scripts, i want to ask, what is the fastest way possble to do mass commands, i know the server has a lot to do with it, but i use mass +q +o and +v alot, (also -q -o and -v) it's usually for a game friends play, like i said i would like to see some of your answers that's all laugh
I have a simple one, but to be honest it is sh*t.

Thanks in advance.

#130054 12/09/05 04:17 PM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
the only thing i would say is to use one of mircs example program to give ops however edit like you will for example
Code:
alias GiveOps {
  %i = 0
  %nicks = ""
  :nextnick
  inc %i
  if ($nick(#,%i) == $null) { if ($len(%nicks) > 0) mode # +oooo %nicks | halt }
  %nicks = %nicks $nick(#,%i)
  if (4 // %i) { mode # +oooo %nicks | %nicks = "" }
  goto nextnick
}

alias TakeOps {
  %i = 0
  %nicks = ""
  :nextnick
  inc %i
  if ($nick(#,%i) == $null) { if ($len(%nicks) > 0) mode # -oooo %nicks | halt }
  %nicks = %nicks $nick(#,%i)
  if (4 // %i) { mode # -oooo %nicks | %nicks = "" }
  goto nextnick
}


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#130055 12/09/05 05:58 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
you could try this
Code:
.Multi OP: {
  var %modecnt = $modespl
  var %modelst = $snicks
  var %modenum = $gettok(%modelst,0,44)
  var %i = 1
  var %x = 1
  while (%i <= %modenum) {
    var %listnk = %listnk $gettok(%modelst,%x,44)
    var %lenchk = $gettok(%listnk,0,32)
    if (%lenchk >= %modecnt) {
      mode # + $+ $str(o,$modespl) %listnk
      var %listnk = ""
    }
    if (%i == %modenum) {
      mode # + $+ $str(o,$modespl) %listnk
      var %listnk = ""
    }
    inc %i
    inc %x
  }
}


it checks to see what the server has for the max number of modes you can do at one time (some are 3 some I have seen are 6)

usage is nicklist popups: highlight the nicks to op ( it uses $snicks)
do a search onhere for $modespl and I am sure you will find aliases that allow inputting +/- V/O/H/whatever


Link Copied to Clipboard