Hi, I use capslock on spamfilter, but
its blocked, exp : ARIALALALALALAL
I want Block : exp : ARIAL LALAL KANA YANA
with spaces block in caps letter.
Thnx all
Capslock Block
-
- Posts: 53
- Joined: Thu Apr 06, 2006 3:35 pm
- Location: Turkey
- Contact:
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Code: Select all
/spamfilter + cN block - No_all_caps. ^(?-i)([^a-z]*[A-Z][^a-z]*)$
-
- Posts: 53
- Joined: Thu Apr 06, 2006 3:35 pm
- Location: Turkey
- Contact:
thnx
thnx
Caps for nick
Hi can we use this regex also for caps on nickname?
For example:
spamfilter {
regex "^(?-i)([^a-z]*[A-Z][^a-z]*)$";
target { user; };
reason "No 100% Caps on nick allowed!!!";
action kill;
};
or is there any other regex for that?
Thx in advance
For example:
spamfilter {
regex "^(?-i)([^a-z]*[A-Z][^a-z]*)$";
target { user; };
reason "No 100% Caps on nick allowed!!!";
action kill;
};
or is there any other regex for that?
Thx in advance
Re: Caps for nick
No: Use this.
User matches nick!user@host:realname, not just nick, so you cant expect a pattern that is designed to match the whole string to match that.
Code: Select all
spamfilter {
regex "^(?-i)([^a-z!]*[A-Z][^a-z!]*)!";
target { user; };
reason "No 100% Caps on nick allowed!!!";
action kill;
};
User matches nick!user@host:realname, not just nick, so you cant expect a pattern that is designed to match the whole string to match that.
Why the hell can't my signature be empty?
"Your message contains too few characters."
"Your message contains too few characters."