I've treid to block users from sending msg's with caps this way
spamfilter {
regex "[A-Z]{20}";
target { channel; };
action block;
reason "Drop Your Caps!";
};
but it blocks also words with letters more than 20 and normal msg's
How can i block Caps letters only? Thx
Caps block
Re: Caps block
You can use (?-i) to make it case sensitive:
but probably something like this would be better (include space):
Or even include digits and other stuff... (punctuation) ?
Perhaps someone else has some great suggestions :p
Code: Select all
regex "(?-i)[A-Z]{20}";
Code: Select all
regex "(?-i)[A-Z ]{20}";
Perhaps someone else has some great suggestions :p
Caps Block
Syzop
There is no need for any new suggestions. The code is working fine...
Thx alote
There is no need for any new suggestions. The code is working fine...
Thx alote