[script]
n0=;########################################### MASS ####################################################################  
n1=;###################  NeOn mIRC Script ####################################################################################
n2=;###################################################################################################################
n3=
n4=alias masswhois { 
n5=  set %i 1
n6=  :next
n7=  set %nick $nick(#,%i)
n8=  if (%nick == $null) goto done 
n9=  if (%nick != $me) { /whois %nick }
n10=  inc %i 
n11=  goto next
n12=  :done 
n13=}
n14=
n15=alias massignore { 
n16=  set %i 1 
n17=  :next
n18=  set %nick $nick(#,%i)
n19=  if (%nick == $null) { halt }
n20=  if (%nick != $me) { /ignore %nick 1 }
n21=  inc %i
n22=  goto next
n23=}
n24=
n25=alias massunignore { 
n26=  set %i 1 
n27=  :next
n28=  set %nick $nick(#,%i)
n29=  if (%nick == $null) { halt }
n30=  if (%nick != $me) { /ignore -r %nick 1 }
n31=  inc %i
n32=  goto next
n33=}
n34=
n35=alias massignoreprivate { 
n36=  set %i 1 
n37=  :next
n38=  set %nick $nick(#,%i)
n39=  if (%nick == $null) { halt }
n40=  if (%nick != $me) { /ignore -p %nick 1 }
n41=  inc %i
n42=  goto next
n43=}
n44=
n45=alias massunignoreprivate { 
n46=  set %i 1 
n47=  :next
n48=  set %nick $nick(#,%i)
n49=  if (%nick == $null) { halt }
n50=  if (%nick != $me) { /ignore -rp %nick 1 }
n51=  inc %i
n52=  goto next
n53=}
n54=
n55=alias massignorectcp { 
n56=  set %i 1 
n57=  :next
n58=  set %nick $nick(#,%i)
n59=  if (%nick == $null) { halt }
n60=  if (%nick != $me) { /ignore -t %nick 1 }
n61=  inc %i
n62=  goto next
n63=}
n64=
n65=alias massunignorectcp { 
n66=  set %i 1 
n67=  :next
n68=  set %nick $nick(#,%i)
n69=  if (%nick == $null) { halt }
n70=  if (%nick != $me) { /ignore -rt %nick 1 }
n71=  inc %i
n72=  goto next
n73=}
n74=
n75=alias massignorenotice { 
n76=  set %i 1 
n77=  :next
n78=  set %nick $nick(#,%i)
n79=  if (%nick == $null) { halt }
n80=  if (%nick != $me) { /ignore -n %nick 1 }
n81=  inc %i
n82=  goto next
n83=}
n84=
n85=alias massunignorenotice { 
n86=  set %i 1 
n87=  :next
n88=  set %nick $nick(#,%i)
n89=  if (%nick == $null) { halt }
n90=  if (%nick != $me) { /ignore -rn %nick 1 }
n91=  inc %i
n92=  goto next
n93=}
n94=
n95=alias massignorekey { 
n96=  set %i 1 
n97=  :next
n98=  set %nick $nick(#,%i)
n99=  if (%nick == $null) { halt }
n100=  if (%nick != $me) { /ignore -k %nick 1 }
n101=  inc %i
n102=  goto next
n103=}
n104=
n105=alias massunignorekey { 
n106=  set %i 1 
n107=  :next
n108=  set %nick $nick(#,%i)
n109=  if (%nick == $null) { halt }
n110=  if (%nick != $me) { /ignore -rk %nick 1 }
n111=  inc %i
n112=  goto next
n113=}
n114=
n115=alias massignorechannel { 
n116=  set %i 1 
n117=  :next
n118=  set %nick $nick(#,%i)
n119=  if (%nick == $null) { halt }
n120=  if (%nick != $me) { /ignore -c %nick 1 }
n121=  inc %i
n122=  goto next
n123=}
n124=
n125=alias massunignorechannel { 
n126=  set %i 1 
n127=  :next
n128=  set %nick $nick(#,%i)
n129=  if (%nick == $null) { halt }
n130=  if (%nick != $me) { /ignore -rc %nick 1 }
n131=  inc %i
n132=  goto next
n133=}
n134=
n135=alias massignoreinvite { 
n136=  set %i 1 
n137=  :next
n138=  set %nick $nick(#,%i)
n139=  if (%nick == $null) { halt }
n140=  if (%nick != $me) { /ignore -i %nick 1 }
n141=  inc %i
n142=  goto next
n143=}
n144=
n145=alias massunignoreinvite { 
n146=  set %i 1 
n147=  :next
n148=  set %nick $nick(#,%i)
n149=  if (%nick == $null) { halt }
n150=  if (%nick != $me) { /ignore -ri %nick 1 }
n151=  inc %i
n152=  goto next
n153=}
n154=
n155=alias massop { 
n156=  if ($me !isop #) { /echo %skins.prefix Нельзя, вы не оператор | halt }
n157=  set %i 1
n158=  :next
n159=  set %nick $nick(#,%i)
n160=  if (%nick == $null) goto done 
n161=  if (%nick != $me) && (%nick !isop #) { /mode # +o %nick }
n162=  inc %i 
n163=  goto next
n164=  :done 
n165=}
n166=
n167=alias massdeop {
n168=  if ($me !isop #) { /echo %skins.prefix Нельзя, вы не оператор | halt }
n169=  set %i 1
n170=  :next
n171=  set %nick $nick(#,%i)
n172=  if (%nick == $null) goto done 
n173=  if (%nick != $me) && (%nick isop #) { /mode # -o %nick }
n174=  inc %i 
n175=  goto next
n176=  :done 
n177=}
n178=
n179=alias massvoice {
n180=  if ($me !isop #) { /echo %skins.prefix Нельзя, вы не оператор | halt }
n181=  else {
n182=    set %i 1 
n183=    :next
n184=    set %nick $nick(#,%i)
n185=    if (%nick == $null) { halt }
n186=    if (%nick != $me) && (%nick !isvoice #) { /mode # +v %nick }
n187=    inc %i
n188=    goto next
n189=  }
n190=}
n191=
n192=
n193=
n194=alias massdevoice {
n195=  if ($me !isop #) { /echo %skins.prefix Нельзя, вы не оператор | halt }
n196=  else {
n197=    set %i 1 
n198=    :next
n199=    set %nick $nick(#,%i)
n200=    if (%nick == $null) { halt }
n201=    if (%nick != $me) && (%nick isvoice #) { /mode # -v %nick }
n202=    inc %i
n203=    goto next
n204=  }
n205=}
n206=
n207=
n208=
n209=alias masskick { 
n210=  if ($me !isop #) { /echo %skins.prefix Нельзя, вы не оператор | halt }
n211=  else {
n212=    set %i 1 
n213=    :next
n214=    set %nick $nick(#,%i)
n215=    if (%nick == $null) { halt }
n216=    if (%nick != $me) { /kick # %nick }
n217=    inc %i
n218=    goto next
n219=  }
n220=}
n221=
n222=alias massban {
n223=  if ($me !isop #) { /echo %skins.prefix Нельзя, вы не оператор | halt }
n224=  else {
n225=    set %i 1 
n226=    :next
n227=    set %nick $nick(#,%i)
n228=    if (%nick == $null) { halt }
n229=    if (%nick != $me) { /ban # %nick 2 | /kick # %nick }
n230=    inc %i
n231=    goto next
n232=  }
n233=}
n234=
n235=alias massadd {
n236=  if ($me !isop #) { /echo %skins.prefix Нельзя, вы не оператор | halt }
n237=  else {
n238=    set %i 1
n239=    var %massaddlevel $$?="Введите уровень, на какой нужно прописать всех:"
n240=    :next
n241=    set %nick $nick(#,%i)
n242=    if (%nick == $null) goto done 
n243=    if (%nick != $me) { %chanserv access # add %nick %massaddlevel }
n244=    inc %i 
n245=    goto next
n246=    :done 
n247=  }
n248=}
n249=
n250=alias massdel {
n251=  if ($me !isop #) { /echo %skins.prefix Нельзя, вы не оператор | halt }
n252=  else {
n253=    set %i 1
n254=    :next
n255=    set %nick $nick(#,%i)
n256=    if (%nick == $null) goto done 
n257=    if (%nick != $me) { %chanserv access # del %nick }
n258=    inc %i 
n259=    goto next
n260=    :done 
n261=  } 
n262=}
n263=
n264=alias massctcpping { 
n265=  set %i 1
n266=  :next
n267=  set %nick $nick(#,%i)
n268=  if (%nick == $null) goto done 
n269=  if (%nick != $me) { /ctcp %nick ping }
n270=  inc %i 
n271=  goto next
n272=  :done 
n273=}
n274=
n275=alias massctcptime { 
n276=  set %i 1
n277=  :next
n278=  set %nick $nick(#,%i)
n279=  if (%nick == $null) goto done 
n280=  if (%nick != $me) { /ctcp %nick time }
n281=  inc %i 
n282=  goto next
n283=  :done 
n284=}
n285=
n286=alias massctcpversion { 
n287=  set %i 1
n288=  :next
n289=  set %nick $nick(#,%i)
n290=  if (%nick == $null) goto done 
n291=  if (%nick != $me) { /ctcp %nick version }
n292=  inc %i 
n293=  goto next
n294=  :done 
n295=}
n296=
n297=alias massctcpfinger { 
n298=  set %i 1
n299=  :next
n300=  set %nick $nick(#,%i)
n301=  if (%nick == $null) goto done 
n302=  if (%nick != $me) { /ctcp %nick finger }
n303=  inc %i 
n304=  goto next
n305=  :done 
n306=}
n307=
n308=alias massctcpmail { 
n309=  set %i 1
n310=  :next
n311=  set %nick $nick(#,%i)
n312=  if (%nick == $null) goto done 
n313=  if (%nick != $me) { /ctcp %nick mail }
n314=  inc %i 
n315=  goto next
n316=  :done 
n317=}
n318=
n319=alias massinvite { 
n320=  set %i 1
n321=  var %massinvitechan #$$?="Введите канал, на который нужно пригласить всех:"
n322=  :next
n323=  set %nick $nick(#,%i)
n324=  if (%nick == $null) goto done 
n325=  if (%nick != $me) { /invite %nick %massinvitechan }
n326=  inc %i 
n327=  goto next
n328=  :done 
n329=}
n330=
n331=alias masshello {
n332=  if ($active != $window(Status Window)) {
n333=    var %i = 1
n334=    :start
n335=    if (%i <= $nick($active,0)) { sline -a $active %i | inc %i 1 | goto start }
n336=    msg $active Привет $replace($remove($snicks,$me),$chr(44),$chr(32)) $+ ! | sline -r $active
n337=    halt
n338=  }
n339=}
n340=
n341=alias massgoodbye {
n342=  if ($active != $window(Status Window)) {
n343=    var %i = 1
n344=    :start
n345=    if (%i <= $nick($active,0)) { sline -a $active %i | inc %i 1 | goto start }
n346=    msg $active Пока $replace($remove($snicks,$me),$chr(44),$chr(32)) $+ ! | sline -r $active
n347=    halt
n348=  }
n349=}
n350=
n351=alias massmsgall {
n352=  set %i 1
n353=  var %massmsgmsg $?="Введите сообщение:"
n354=  :next
n355=  set %nick $nick(#,%i)
n356=  if (%nick == $null) goto done 
n357=  if (%nick != $me) { /msg %nick %massmsgmsg }
n358=  inc %i 
n359=  goto next
n360=  :done 
n361=}
n362=
n363=alias massmsgop {
n364=  set %i 1
n365=  var %massmsgmsg $?="Введите сообщение:"
n366=  :next
n367=  set %nick $nick(#,%i,o)
n368=  if (%nick == $null) goto done 
n369=  if (%nick != $me) { /msg %nick %massmsgmsg }
n370=  inc %i 
n371=  goto next
n372=  :done 
n373=}
n374=
n375=alias massmsgvoice {
n376=  set %i 1
n377=  var %massmsgmsg $?="Введите сообщение:"
n378=  :next
n379=  set %nick $nick(#,%i,v)
n380=  if (%nick == $null) goto done 
n381=  if (%nick != $me) { /msg %nick %massmsgmsg }
n382=  inc %i 
n383=  goto next
n384=  :done 
n385=}
n386=
n387=alias massmsgnormal {
n388=  set %i 1
n389=  var %massmsgmsg $?="Введите сообщение:"
n390=  :next
n391=  set %nick $nick(#,%i,r)
n392=  if (%nick == $null) goto done 
n393=  if (%nick != $me) { /msg %nick %massmsgmsg }
n394=  inc %i 
n395=  goto next
n396=  :done 
n397=}
n398=
n399=alias massmsgvoicenormal {
n400=  set %i 1
n401=  var %massmsgmsg $?="Введите сообщение:"
n402=  :next
n403=  set %nick $nick(#,%i,a,o)
n404=  if (%nick == $null) goto done 
n405=  if (%nick != $me) { /msg %nick %massmsgmsg }
n406=  inc %i 
n407=  goto next
n408=  :done 
n409=}
n410=
n411=alias massmsgopvoice {
n412=  set %i 1
n413=  var %massmsgmsg $?="Введите сообщение:"
n414=  :next
n415=  set %nick $nick(#,%i,a,r)
n416=  if (%nick == $null) goto done 
n417=  if (%nick != $me) { /msg %nick %massmsgmsg }
n418=  inc %i 
n419=  goto next
n420=  :done 
n421=}
