Advertisement
prohaters

Untitled

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