🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #169316

[slrn] Using one score rule for two different scores

#169316
From: Andrea F Julianis
Date: Fri, 15 Jul 2005 17:09
41 lines
1844 bytes
I have the following rule to score posts with no attachments.
But there are certain binary groups that I want a score of -9999 and
other that I want a score of -8000. Is there a way to do this
without duplicating the rule for each of the group sets?

[alt.binaries.*]
Score: -8000 % No attachment
~Lines: 200
{::
    {:
        ~Subject: [1-9][0-9]* */ *[0-9]*
        ~Subject: yEnc
    }
    Subject: ^Re:
}

Note that I already know that I can list groups separated by commas
inside the brackets, but for two scores it would require me to
duplicate the rule.

I need something like:

[alt.binaries.*]
Score: -8000 (if wallpaper) % No attachment
Score: -9999 (if anime)     % No attachment
~Lines: 200
{::
    {:
        ~Subject: [1-9][0-9]* */ *[0-9]*
        ~Subject: yEnc
    }
    Subject: ^Re:
}

instead of

[alt.binaries.anime,alt.binaries.animetoo,...]
... <rule> ...

[alt.binaries.wallpaper,alt.binaries.wallpapertoo,...]
... <rule duplicated> ...
Technical Details
Message-ID: <slrnddfrgj.4dv.julianisaf@powerbook.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!feeder1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!newshosting.com!nx02.iad01.newshosting.com!post01.iad01!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrnddfrgj.4dv.julianisaf@powerbook.local>
Subject: [slrn] Using one score rule for two different scores
Date: Fri, 15 Jul 2005 17:09:11 +0000
From: Andrea F Julianis <julianisaf@comcast.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!feeder1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!newshosting.com!nx02.iad01.newshosting.com!post01.iad01!not-for-mail
Newsgroups: news.software.readers
Organization: None what so ever
User-Agent: slrn/0.9.8.1 (Darwin)
Lines: 41
X-Complaints-To: abuse@newshosting.com