MASJOIN

By BabRe_BaNgaL on May 07, 2011

1200:56] Joins: Guest7925 (ha@109.238.178.nC13=)
12[00:56]
Joins: ghlsi (vtwxf@109.238.178.nC13=)
12[00:56] Joins: Guest41828 (nd@221.212.196.ck78=)
12[00:56]
Joins: Guest35756 (xd@87.111.199.oq508=)
12[00:56] Joins: mokhtechi (pb@87.111.199.oq508=)
03[00:56]
boro_bache sets mode: +mR
[00:56] #aaaaa created on Thu Apr 28 00:19:27 2011
04[00:56] vjrlk was kicked by boro_bache (boro_bache)
04[00:56]
bidemjan was kicked by boro_bache (boro_bache)
04[00:56] bademjon was kicked by boro_bache (boro_bache)
04[00:56]
Guest90330 was kicked by boro_bache (boro_bache)
04[00:56] Dilber was kicked by boro_bache (boro_bache)
04[00:56]
bywgo was kicked by boro_bache (boro_bache)
04[00:56] * Guest7925 was kicked by boro_bache (boro_bache)

;mass join 

on @*:JOIN:#: { 
  if (%mjoin == on) { 
  if ($me isop $chan)  { cs op  $chan }
    set -u3 $+(%,nflood.,#) $addtok($($+(%,nflood.,#),2),$nick,44) 
    set -u3 $+(%,ipflood.,#) $addtok($($+(%,ipflood.,#),2),$mask($fulladdress,2),32) 
    if ($gettok($($+(%,nflood.,#),2),0,44) == $iif(%max.join,%max.join,4)) { 
      if (j !isin $chan(#).mode) { mode # +mR }   |  /ignore -ptnu300 *@*
      .timeromg.kick. [ $+ [ # ] ] -m 1 1500 omg.kick # 
    } 
  } 
} 
alias omg.remode { 
  mode $1 $replace($channel($1).mode,+,-) 
  $+(.timerub,$1) 1 $iif($($+(%,b.time,$1),2),$($+(%,b.time,$1),2),60) cb $1 
} 
alias omg.kick { 
  kick $1 $($+(%,nflood.,$1),2)  $+ $r(0,14) 8,1 2A12bbass ( $+ %total Users)
  var %loop-a = 1 
  while ($gettok($($+(%,ipflood.,$1),2),%loop-a,32)) { 
    %bb = %bb $gettok($($+(%,ipflood.,$1),2),%loop-a,32) 
    if ($modespl == $numtok(%bb,32)) { mode $1 $+(+,$str(b,$gettok(%bb,0,32))) %bb | %bb = "" } 
    inc %loop-a 
  } 
  if (%bb) { mode $1 $+(+,$str(b,$gettok(%bb,0,32))) %bb | %bb = "" } 
  $+(.timerx,$1) 1 0 unset $+(%,*,flood.,$1) 
  $+(.timercbm.,$1) 1 $iif($($+(%,m.time,$1),2),$($+(%,m.time,$1),2),30) omg.remode $1 
} 
alias cb { 
  var %b = 1,%nban = "" 
  while ($ibl($1,%b)) { var %nban = $addtok(%nban,$ibl($1,%b),32) 
    if ($modespl == $numtok(%nban,32)) { mode $1 $+(-,$str(b,$gettok(%nban,0,32))) %nban | %nban = "" } 
    inc %b 
  } 
  if (%nban) { .mode $1 $+(-,$str(b,$gettok(%nban,0,32))) %nban | %nban = "" } 
} 
menu menubar,channel { 
  »massjoin«
  .»mass join« $chr(9) $iif(%mjoin == on,on,off):set %mjoin $iif(%mjoin != on,on,off) | %omg.lg = 0mg! Mass Shiled. | echo -a $+($chr(3),07,•) Info : • massjoin •  $iif(%mjoin == on,on,off)   1,4?? W1,8?M?? ?1,3? ?®?
  .»max join« $chr(9) $iif(%max.join,%max.join,4):set %max.join $input(Set Limit Join,e) | if (!%max.join) { set %max.join 4 }  1,4?? W1,8?M?? ?1,3? ?®?
  .»mode time« $chr(9) $iif($($+(%,m.time,#),2),$($+(%,m.time,#),2),500):set $+(%,m.time,#) $?="Set limit Timer ban (Contoh 500)" | echo -a $+($chr(3),07,•) Info : 9Timer Ban telaH Di set0,12 $chr(9) $iif($($+(%,m.time,#),2),$($+(%,m.time,#),2),500) 9saat  1,4?? W1,8?M?? ?1,3? ?®?
  .»unban time« $chr(9) $iif($($+(%,b.time,#),2),$($+(%,b.time,#),2),500):set $+(%,b.time,#) $?="Set limit Timer Unban (Contoh 500)" | echo -a $+($chr(3),07,•) Info : 9Timer unban telah Di set0,12 $chr(9) $iif($($+(%,b.time,#),2),$($+(%,b.time,#),2),500) 9saat  1,4?? W1,8?M?? ?1,3? ?®?
  - 
}

Comments

Sign in to comment.
SimplySys   -  May 13, 2011

Most IRCd's have a form of flood protection similar to UnrealIRCd's CHMODE +f. Use it.

 Respond  
TheWhistler   -  May 13, 2011

i like this but didnt like the kick ban so i changed the the kick to /kill $1 $nick and the kick in the file to kill
i replaced this .timeromg.kick. [ $+ [ # ] ] -m 1 1500 omg.kick # to /kill $nick byebye (reason= you can have what you like for a reason }
replaced this omg.kick to omg.kill
replaced this kick $1 to kill $1
changed the modes from mode # +mR to mode # +mRiN
mostly for bot massjoins
someone may like to use this as for the file itself works great
i tested it out with 1 join to make sure it worked
[12:05] Closing Link: Dingo[???? taken out] TheCreator ([irc.BlueCrystalChat.net] Local kill by TheCreator (byebye azzhole, you'r not wanted here))
Credit still goes to BabRe_BaNgaL
not claiming its my work cause its not just modified by me

 Respond  
SimplySys   -  May 13, 2011

Jesus Christ. The first problem I noticed is that the network allows 5+ client connections from the same IP.

 Respond  
eNkIL   -  May 13, 2011

LOL

 Respond  
JoKabua   -  May 07, 2011

How can I change the kicked by boro_bache (boro_bache) <--- the reason kicked

 Respond  
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.