🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #65306

Re: X-News- Help with score file

#65306
From: Murray Peterson
Date: Wed, 06 Sep 2000 01:55
75 lines
3476 bytes
Admin7@zedz.net (Crash2000) wrote:

>have this doesn't seem to work! help pls.
>[.]
>
>Score: 9999
>From: Crash2000|Loco
>
>[.]
>
>Score: -9999
>Message-ID: <*@*.databasix.com>
>
>[.]
>
>Score: -9999
>Subject: REPOST*
>
>what am I missing here?
>
>I also tried putting everything on 1 line, still no luck!

Several issues:

A single colon after the Score keyword means that all the rules are 
ANDed -- each one must pass before the rule will apply.  To change it 
to an OR, put 2 colons after the Score. 

You don't need to put all of these things under separate groups.  
It's harmless, but more typing than really required.

All comparisons are case-insensitive by default.  Putting REPOST* is 
exactly the same as repost*.  If you want case sensitive comparisons, 
you must use  Subject= instead of Subject:

You don't need to worry about what's in front of or behind the item 
you are matching.  As an example, if I enter:
    	Subject: a
then I will match any posting that contains the letter "a" in it, 
upper or lower case, anywhere on the line.

You are using the * operator incorrectly.  It means zero or more of 
the previous character.  A period matches any character, so .* means 
match zero or more of any character.  In your example above, REPOST* 
matches the string "repos" with 0 or more "t"'s at the end of it.  I 
doubt if that's what you really wanted.  If you want to match any 
string with an upper-case REPOST in it, all you need to do is:
    	Subject=REPOST
It doesn't matter what comes before or after REPOST (e.g. 
"MYREPOSTAGAIN" in the subject line will still get matched.

Putting your own name in works, but you should fill in the message 
token part of XNews setup.  That way, all of your posts, and replies 
to those posts will be maarked for you.  If you look at my postings, 
you will see the word "farkle" in all my post's message IDs.
So, to add it all up, here's what I THINK you might want:

[.]
Score:: 9999
    	From: Crash2000|Loco
Score:: -9999
    	Message-ID: databasix.com
    	Subject= REPOST

This is covered in several files that you should find in your XNews 
directory (it's in the zip file).  They are scoring.txt and pcre.html

As a final item -- you can find an example score.ini file on my web 
page.  It may have more examples of use to you.

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson
Technical Details
Message-ID: <8FA6CB1D1farkle@24.64.2.57>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
References: <8FA6888E0Crash2000@206.172.150.51>

Show Full Headers
Complete Article Headers
Message-ID: <8FA6CB1D1farkle@24.64.2.57>
Subject: Re: X-News- Help with score file
Date: Wed, 06 Sep 2000 01:55:29 GMT
From: mwp@home.com.invalid (Murray Peterson)
References: <8FA6888E0Crash2000@206.172.150.51>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/03.08.28
Lines: 74
NNTP-Posting-Host: 24.64.52.234
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.ab.home.com 968205329 24.64.52.234 (Tue, 05 Sep 2000 18:55:29 PDT)
NNTP-Posting-Date: Tue, 05 Sep 2000 18:55:29 PDT
Organization: Excite@Home - The Leader in Broadband