FlexHub Forum

Block spam with pattern ...

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Block spam with pattern ...
« on: April 13, 2012, 07:26:26 »
Hello ... good morning ...  ;)

How can block with pattern this spam in mainchat ?

Mainchat history:
- [2012/04/13 01:18:49] <Apocalyptica>      r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:18:51] <Apocalyptica>    r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:18:54] <Apocalyptica>                 r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:18:55] <Apocalyptica>           r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:18:59] <Apocalyptica>          r o c k M E T A L H U B , N 0 - l P , l N F O
        r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:19:00] <Apocalyptica>           r o c k M E T A L H U B , N 0 - l P , l N F O
          r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:19:05] <Apocalyptica>          r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:19:05] <Apocalyptica>  r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:19:10] <Apocalyptica>        r o c k M E T A L H U B , N 0 - l P , l N F O
- [2012/04/13 01:19:11] <Apocalyptica>            r o c k M E T A L H U B , N 0 - l P , l N F O


nb. this method correct ? --->  !addpattern MC "%, I N F O" -p-1 -a16


Thanks for support and assistance
Best regards
Massimiliano
« Last Edit: April 13, 2012, 07:39:55 by massi »

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: Block spam with pattern ...
« Reply #1 on: April 13, 2012, 11:12:31 »
They use replacements for the o (zero) and the i (lowercase L).
You could make a pattern to block no-ip:

"[nN]%S-[oO0]%S-[%-_]%S-[iIl]%S-[pP]"

Characters between brackets means: OR
%S- means: zero or more spaces

Hope that helps!
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: Block spam with pattern ...
« Reply #2 on: April 13, 2012, 11:18:42 »
They use replacements for the o (zero) and the i (lowercase L).
You could make a pattern to block no-ip:

"[nN]%S-[oO0]%S-[%-_]%S-[iIl]%S-[pP]"

Characters between brackets means: OR
%S- means: zero or more spaces

Hope that helps!

Fantastic !!!  :)

Thanks Flip  ;)

Best regards
Massimiliano

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: Block spam with pattern ...
« Reply #3 on: April 13, 2012, 12:00:45 »
I've try ... but don't work ...  ::)

nb. !addpattern MC "[nN]%S-[oO0]%S-[%-_]%S-[iIl]%S-[pP]" -p-1 -a16

nb. string/message =>  "  r o c k M E T A L H U B , N 0 - l P , l N F O"


Thanks for assistance and support  ;)
Best regards
Massimiliano
« Last Edit: April 13, 2012, 12:04:05 by massi »

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: Block spam with pattern ...
« Reply #4 on: April 13, 2012, 19:57:51 »
Sorry, my mistake, %S should be %s

"[nN]%s-[oO0]%s-[%-_]%s-[iIl]%s-[pP]"

If that doesn't work, try this:

"[nN]%s*[oO0]%s*[%-_]%s*[iIl]%s*[pP]"
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: Block spam with pattern ...
« Reply #5 on: April 13, 2012, 20:27:35 »
Hi, now it's ok ... first ... perfect  ;)


Thanks Flip  :)


Best regards
Massimiliano

Offline sergius_s

  • *
  • 236
  • Be yourself...
Re: Block spam with pattern ...
« Reply #6 on: July 03, 2013, 14:22:54 »
These spammers exist, i agree, but sense is not of this type of spam. I so think.
You will be deleting a spaces for such "URL"? I think that no one will do it. :)

But This is a personal matter for each - create such patterns or no  ;)
- I'm sorry for my terrible english...