Capslock Block

These are old archives. They are kept for historic purposes only.
Post Reply
Bronx AnarchY
Posts: 53
Joined: Thu Apr 06, 2006 3:35 pm
Location: Turkey
Contact:

Capslock Block

Post by Bronx AnarchY »

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
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Code: Select all

/spamfilter + cN block - No_all_caps. ^(?-i)([^a-z]*[A-Z][^a-z]*)$
Bronx AnarchY
Posts: 53
Joined: Thu Apr 06, 2006 3:35 pm
Location: Turkey
Contact:

thnx

Post by Bronx AnarchY »

thnx
Guest

Caps for nick

Post by Guest »

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
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Re: Caps for nick

Post by Jason »

No: Use this.

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."
Guest

Thx

Post by Guest »

Ok this one works god thx Jeson
Guest

Thx

Post by Guest »

Jason*
Post Reply