Snippets
  • Uploaded By: entropy
  • Added: 2 years ago
  • Updated: 2 years ago
  • mIRC Version: 7.52+
  • Hits: 1,364
  • Size: 463B
  • Downloads: 22
  • Review By: entropy



Simple Anti Flood Text v1.5

Kicks/Bans anyone (no access) who flood in channel.
Screenshot...

    
  1    0  Login to Vote.


Source Code:
  1. ; Simple Anti Flood Text v1.4 - by entropy 2018
  2.  
  3. #flood on
  4. alias -l rm {
  5. var %mode
  6. if (r isincs $chan($1).mode) { set %mode r }
  7. if (m isincs $chan($1).mode) { set %mode %mode $+ m }
  8. if (%mode) { mode $1 $+(-,%mode) }
  9. }
  10. on @*:text:*:#:{
  11. inc -z $+(%,flood,.,$nick) 1
  12. if ($eval($+(%,flood,.,$nick),2) >= 2 && $nick isreg #) {
  13. ban -ku300 # $nick 2 Flood
  14. mode # +rm
  15. .timerrmx -o 1 10 rm $unsafe( # )
  16. }
  17. }
  18. #flood end


Comments
No Comments.

Login to Comment.