Advertisement
Guest User

Untitled

a guest
Nov 14th, 2014
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. on !*:text:*:#:{
  2. if ($read(modlist.txt,nw,$nick)) { return }
  3. if ($read(reglist.txt,nw,$nick)) { return }
  4. if ( $len($1-) >= 13 ) {
  5. if ( $calc($regex($1-,/[A-Z]/g) / $regex($1-,/[A-Z]/gi) * 100) >= 70 ) {
  6.  
  7. if !$istok(%caps.warned,$nick,32) {
  8. var %re /( $+ $replacex(%e,$chr(32),|,/,\/,$chr(40),$+(\,$chr(40)),$chr(41),$+(\,$chr(41)),\,\\,|,\|,],\],[,\[) $+ )/Sig
  9. if ($read(modlist.txt,nw,$nick)) { return }
  10. if ($read(reglist.txt,nw,$nick)) { return }
  11. if $regex($1-,%re) >= 7 {
  12. set -e $+(%,c,$chr(32),$int($v1))
  13. inc $+(%,$nick)
  14. if ($($+(%,$nick),2) > 2) {
  15. .msg $chan .timeout $nick 3600
  16. .msg $chan .timeout $nick 3600
  17. unset $($+(%,$nick),1)
  18.  
  19. }
  20. elseif ($($+(%,$nick),2) = 2) {
  21. .msg $chan .timeout $nick 2
  22. .msg $chan .timeout $nick 2
  23. }
  24. else {
  25. .msg $chan .timeout $nick 2
  26. .msg $chan .timeout $nick 2
  27. }
  28. }
  29. }
  30. }
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement