Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. Custom FloodPro Script for #Lima - by SanitariuM @ Undernet
  2.  
  3. [Floodbot Examples]
  4.  
  5. [^FuL|an0^]!~qmqjps@cpe-76-175-82-88.socal.res.rr.com
  6. botty!~lopqhso@109-121-27-240.adsl-a-6.sezampro.rs
  7. Douce_25!~syiappcm@cpe-76-175-82-88.socal.res.rr.com
  8. abou_lahab!~rxbzwte@adsl-190-77-250.asm.bellsouth.net
  9. GoOd_LoVe!~notphqci@173-212-11-2.cpe.surry.net
  10.  
  11. [Floodbot Pattern]
  12.  
  13. Pattern is the random lowercase 6-9 character identd.
  14. Match 3 of those joining in 3 seconds, and massban on 3+ join.
  15.  
  16. [Floodbot Simulation - .lima = bot joining]
  17.  
  18. [02:05:48] <@Duff> .lima [^FuL|an0^]!~qmqjps@cpe-76-175-82-88.socal.res.rr.com
  19. [02:05:49] <@Duff> .lima botty!~lopqhso@109-121-27-240.adsl-a-6.sezampro.rs
  20. [02:05:49] <@Duff> .lima Douce_25!~syiappcm@cpe-76-175-82-88.socal.res.rr.com
  21. [02:05:49] <@Duff> .lima abou_lahab!~rxbzwte@adsl-190-77-250.asm.bellsouth.net
  22. [02:05:49] <@Duff> .lima GoOd_LoVe!~notphqci@173-212-11-2.cpe.surry.net
  23. [02:05:49] <@Homer> --> mode #lima +bbbb *!*@cpe-76-175-82-88.socal.res.rr.com *!*@109-121-27-240.adsl-a-6.sezampro.rs *!*@adsl-190-77-250.asm.bellsouth.net *!*@173-212-11-2.cpe.surry.net
  24.  
  25. [mIRC Script Code]
  26.  
  27. on @*:join:#lima:{
  28. var %pattern = /^([^!]+?)!~(?!\1.*)[a-z]{6,9}@(?!.*undernet\.org$).+$
  29. if ($regex($fulladdress,%pattern)) {
  30. hinc -mu3 lima counter 1
  31. if ($hget(lima,counter) <= 2) { hadd -mu3 lima host $+ $hget(lima,counter) $site }
  32. elseif ($hget(lima,counter) == 3) { limakickban $hget(lima,host1) | limakickban $hget(lima,host2) | limakickban $site }
  33. elseif ($hget(lima,counter) > 3) { limakickban $site }
  34. }
  35. }
  36.  
  37. alias limakickban {
  38. var %mask = *!*@ $+ $1 | var %masks = $hget(lima,masks) | var %masks2 = $addtok(%masks,%mask,32) | hadd -mu3 lima masks %masks2
  39. if ($numtok(%masks2,32) == 6) { limakickban.do }
  40. else { .timerlimaban off | .timerlimaban -m 1 50 limakickban.do
  41. }
  42.  
  43. alias limakickban.do { mode #lima + $+ $str(b,$numtok($hget(lima,masks),32)) $hget(lima,masks) | hdel lima masks }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement