FlexHub Forum

pattern problem

pattern problem
« on: May 11, 2012, 15:06:35 »
!addpattern PM "adc://" -p-1 -a260
!addpattern PM "adcs://" -p-1 -a260
!addpattern PM "nmdcs://" -p-1 -a260
!addpattern PM "nmdc://" -p-1 -a260
!addpattern PM "dchub://" -p-1 -a260

-1   260   "adc://"                           Warn NotifyOpchat

Why dot this pattern don't works ?

Is there a why to add them to one pattern ?

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: pattern problem
« Reply #1 on: May 11, 2012, 15:22:52 »
Hi Hamachi  ;)

good afternoon ... why use this methodology ?

with your method will identify only those with the prefix:

adc://
adcs://
nmdcs://
nmdc://
dchub://

i do not think that is the best and most effective way to stop spam ... my opinion of course ...

NB. used this for example --> “dchub%." etc...

Other example ... take a look  :)

“[Ww][Ww][Ww]%."
“%S+://”
“%.org”
“%d+%.%d+%.%d+%.%d+”
“%.ws”
“[nN]%S-[oO0]%S-[%-_]%S-[iIl]%S-[pP]”
“%.ro”
“%.biz”
“%.eu”
“%.ru”
“%:1411”
“%.sv”
".co%.uk”
“%:411”
“%.tv”
“PTC”
“%.com”
“ve%-ti”
“%.liv”
“dyndns%."
“%.cz”
“magnet%:"
“%-ass”
“dchub%."
“%.net”
“%.si”
“[Hh][Pp]%."
“%.lt”
“@”
“%-ip”
“%.cx”

Best Regards
Massimiliano
« Last Edit: May 11, 2012, 15:34:18 by massi »

Re: pattern problem
« Reply #2 on: May 11, 2012, 16:19:20 »
Thanks massi :)

I will test it some more :)

Offline LadyStardust

  • *****
  • 257
  • aka Puma
Re: pattern problem
« Reply #3 on: May 11, 2012, 23:01:28 »
Hamachi: is "%S+://"  for all of them not enough?
This default pattern will "catch" everything posted in PM that contains  ://   and there is no need to add adc:// dchub:// etc seperately. That's how default patterns look like:

Quote
[22:59:09] <`°º¤MotherNature¤º°`> *** !showpattern PM
[22:59:09] <`°º¤MotherNature¤º°`>

   Showing patterns for: PM private message (priority ordered)

   Profile   Actions   Pattern            Actions
   ________________________________________________________________________________

   1   32   "%S+://"                           Kick
   1   32   "[Ww][Ww][Ww]%."                   Kick
   1   32   "%d+%.%d+%.%d+%.%d+"               Kick
Best regards,
LS

Re: pattern problem
« Reply #4 on: May 12, 2012, 14:48:02 »
Yes but i like to allow url ;)

Offline LadyStardust

  • *****
  • 257
  • aka Puma
Re: pattern problem
« Reply #5 on: May 12, 2012, 15:22:26 »
Feel free to remove patterns with "[Ww][Ww][Ww]%."  
« Last Edit: January 16, 2014, 18:49:16 by LadyStardust »
Best regards,
LS

Offline sergius_s

  • *
  • 236
  • Be yourself...
Re: pattern problem
« Reply #6 on: September 04, 2013, 13:13:10 »
Yes, pattern "%S+://" blocks all links.
This does not apply to the profile VIP and higher and rightly so.
But i would like so that users with a profile VIP, Kvip and SuperUser could write such links as http://, but they should not be able to write links dchub://, is why i did a pattern MC and PM "dchub://" for profile 4 and below and it works fine.

I don't know why it does not work for someone...
- I'm sorry for my terrible english...