Advertisement
prohaters

Untitled

Sep 17th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. #protection on
  2. on @^!*:text:*:#:detect $1-
  3. on @^!*:notice:*:#:detect $1-
  4. on @^!*:action:*:#:detect $1-
  5. alias -l detect {
  6. if ($nick !isreg $chan) || ($nick ishop $chan) || ($nick isop $chan) || ($nick isvo $chan) || (staff isin $wildsite) || ($nick == $me) { goto end }
  7. $iif($regex($1-,/(burit|babi|puki|cibai|lancau|kote|cipap|suck|kimak|fuck|lancap|lanjiao|butuh)/g) > 0,$kik( Swearing ))
  8. $iif($regex($1-,/[[:cntrl:]]/g) > 59,$kik( Codes ))
  9. $iif($regex($strip($1-),/[[:digit:]]/g) > 59,$kik( Numerics ))
  10. $iif($regex($strip($1-),/[[:upper:]]/g) > 59,$kik( Capslock ))
  11. $iif($regex($strip($1-),/[[:punct:]]/g) > 79,$kik( Punctuations ))
  12. $iif($regex($strip($1-),/[ $chr(174) ]/g) > 59,$kik( Ascii ))
  13. $iif($regex($strip($1-),/[ $chr(160) ]/g) > 59,$kik( Blanks ))
  14. $iif($regex($strip($1-),/[[:lower:]]/g) > 249,$kik( Characters ))
  15. $iif($regex($strip($1-),/(https)/g) > 0,$kik( Spamming ))
  16. var %rpts = $+(%,repeat.,$hash($strip($1-),32),.,$nick) | Inc -u3 $eval(%rpts,1) | If ($eval(%rpts,2) > 3) { $kik( Repeating ) }
  17. var %srepeat = $+(%,special,$hash($remove($strip($1-),$chr(160),$chr(32)),32),.,$nick) | Inc -u2 $eval(%srepeat,1) | if ($eval(%srepeat,2) > 4) { $kik( Special Repeats ) }
  18. :end
  19. }
  20. alias -l kik {
  21. hinc -u3m dvd blue
  22. if ($hget(dvd,blue) <= 0) { halt } | if ($hget(dvd,blue) > 10) { halt }
  23. else { .ban -ku300 # $nick 2 4 Razón:4 $1- 4en $chan $+ . 4Protección de canal. $logo | .splay $mircdirsounds\KickBan.wav }
  24. .ignore -u3 $nick
  25. else { return }
  26. }
  27. on ^*:kick:#: {
  28. if ($nick == $me) {
  29. window -e @kick | echo @kick ::14,1- You Kick Nick - $knick - $1- ::
  30. }
  31. }
  32. #protection end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement