Skip to content
TG007 community snippet #162

Easy Caps & Punctuation Protection by Charlatan

Easy Caps and Punctuation Protection without warning... Never use it because is a really stupid protection.. Use it or rip it, do whatever you want..

By Snippets Added Dec 7, 2023
General IRC All snippets
mIRC script 23 lines
About this snippet

Overview

Easy Caps and Punctuation Protection without warning...
Never use it because is a really stupid protection..
Use it or rip it, do whatever you want..
Source code

mIRC script

23 lines · 873 characters
/*
01000011 01101000 01100001 01110010 01101100 01100001 01110100 01100001 01101110                                                                                  
*/

on @!*:text:*:#:if (%Cap. [ $+ [ # ] ] = si) { Capunkick $strip($1-) } 
on @!*:action:*:#:if (%Cap. [ $+ [ # ] ] = si) { Capunkick $strip($1-) }
alias -l Capunkick {
  if ($nick(#, $nick, '.@)) halt
  if ($len($strip($1-) >= 10)) && ($regex($strip($1-),/([[:punct:]])|[A-Z]/g) >= 60) flood
  halt
}
alias -l flood {
;Put whatever you want here.. the others Floods protection you can link it to this alias
}
Menu channel {
-
Protection
.$Iif(%Cap. [ $+ [ # ] ] == si, $Style(1)) Caps & Punct. Protection: {
    Set %Cap. [ $+ [ # ] ] $Iif(%Cap. [ $+ [ # ] ] == si, no, si)
    Echo -at * 0Caps & Punct. Protection $Iif(%Cap. [ $+ [ # ] ] == si, Activated, Desactivated)
  }
}
-   
Community

Comments

Want to join the discussion? Sign in to TG007.
No comments yet. Start the discussion.