Reverses in quit/part msg.
Posted: Tue Jun 20, 2006 11:20 am
Can block Reverses in quit msg or part msg with Spamfilter? 
Welcome to the UnrealIRCd Forums!
https://forums.unrealircd.org/
Code: Select all
No. Spamfilter can't block control codes.
Spamfilter is intended to block spam! (doh)
Code: Select all
/spamfilter + cpnNqat gzline 1d Spamming ([^ ]{3,})\1{25,}thanks JasonCode:
/spamfilter + cpnNqat gzline 1d Spamming ([^ ]{3,})\1{25,}
That will match three or more letter words being repeated at least 25 times.
If you only want to block, replace 'gzline 1d' with 'block -'.
If you only want it to work on quit messages, replace 'cpnNqat' with 'q'.
Sorry but it doesn't seem to work for me. I changed the setting to /spamfilter + cpnNqat gzline 1d Spamming ([^ ]{3,})\1{10,} so as to kick three or more letter words being repeated 10 times but when i tested it in private, spamfilter didn't catch the repeated message.Jason wrote:That will match three or more letter words being repeated at least 25 times.Code: Select all
/spamfilter + cpnNqat gzline 1d Spamming ([^ ]{3,})\1{25,}
If you only want to block, replace 'gzline 1d' with 'block -'.
If you only want it to work on quit messages, replace 'cpnNqat' with 'q'.
So it means anyone can spam anything in their quit messages in reverses and we can't do anything? DohDukat wrote:No. Spamfilter can't block control codes.
Spamfilter is intended to block spam! (doh)
Youd block the content, not the formatting control characters. Also if spamming in quit messages are that big of a problem for you try looking in the documentation on how to set up static quits (fixed quit messages).Annihilator90 wrote:So it means anyone can spam anything in their quit messages in reverses and we can't do anything? Doh
Code: Select all
(....)\1{4}It works wonders. Thank you so much !!!Stealth wrote:Jason's spamfilter is kinda overkill... Something more simple (only works on Unreal 3.2.5 and newer)
That will block anything that is 4 or more characters, repeated at least 4 times. If you want to change it, the number of .'s is the minimum number of characters, and the number in the {} is the minimum number of repeatsCode: Select all
(....)\1{4}
Sure Jason. Thank you !!!Jason wrote:Annihilator: Spamfilter will ignore the reverses and hit the message anyhow.
Also: You are an oper, and as such, cannot trigger spamfilters, at all, ever. Only normal people can get hit by them.