If you do not have StopAtFirstHit enabled, then each hit adds the specified points to the total. So, set the MinWeightToFail to 10 and apply 2 point for each hit like:
#SKIPIFWEIGHT 10 MINWEIGHTTOFAIL 10 #MAXWEIGHT 15 #STOPATFIRSTHIT BODY 2 CONTAINS replikas Michael Thomas Mathbox 978-683-6718 1-877-MATHBOX (Toll Free) > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of IS - Systems Eng. (Karl Drugge) > Sent: Friday, July 14, 2006 1:52 PM > To: declude.junkmail@declude.com > Subject: [Declude.JunkMail] Number of times per test > > I looked through the manual, but didn't see this defined... > > I want a test that applies 10 points if a certain string > appears in the > body of a message a number of times... > > So if, for example, 'replikas' appears 5 times, and I want to > apply ten > points only if that string is there 5 times or more, what part of the > test definition string do I modify ? Which variable determines that ? > Or, could I assign it 2 points each time it appears ? And > which variable > is that ? > > Numberoftimes filter C:\Declude\sampletest.txt x 10 > 0 > > > Karl Drugge > > > > > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and > type "unsubscribe Declude.JunkMail". The archives can be found > at http://www.mail-archive.com. > > > --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.