🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Ross Parker Tue, 25 Mar 2008 17:34
[Dialog]
#218074
Author: Ross Parker
Date: Tue, 25 Mar 2008 17:34
6 lines
1109 bytes
I am looking for a script that will select and delete any messages in a
group with a score of <0.      I can hack together a script but I don't
know how to select messages based on score.  

-- 
Ross 
Re: [Dialog]
#218070
Author: Eggs Zachtly
Date: Tue, 25 Mar 2008 21:27
14 lines
1765 bytes
Ross Parker said:

> I am looking for a script that will select and delete any messages in a
> group with a score of <0.      I can hack together a script but I don't
> know how to select messages based on score.

!delete Score <0 

won't work?
-- 

Eggs

-A hair in the head is worth two in the brush.
Re: [Dialog]
#218078
Author: Sqwertz
Date: Wed, 26 Mar 2008 04:16
20 lines
2089 bytes
Ross Parker <Ross Parker <ross.parker@gmail.com>> wrote:

> I am looking for a script that will select and delete any messages in a
> group with a score of <0.      I can hack together a script but I don't
> know how to select messages based on score.

I have Dialog set to:

Default Group Options -> Sorting/Scoring:

 - Mark all articles read that have a score less than equal to:  [ -1 ]

Which does something similar if you have your views set to not show read
articles.

If you really need to physically delete them, then use Egg-X's example;
No script required.  You can then re-score a group and run the delete on
existing articles using Group -> Apply Scoring Actions.

-sw
Re: [Dialog]
#218321
Author: Ross Parker
Date: Tue, 01 Apr 2008 02:35
18 lines
1603 bytes
On Tue, 25 Mar 2008 15:27:53 -0600, Eggs Zachtly wrote:

> Ross Parker said:
> 
>> I am looking for a script that will select and delete any messages in a
>> group with a score of <0.      I can hack together a script but I don't
>> know how to select messages based on score.
> 
> !delete Score <0 
> 
> won't work?

My intent is to review the messages prior to deleting.  I wanted to try out
some new scoring entries but at the same time I wanted to make sure that I
was not getting deleting articles that would be of interest.

-- 
Ross 
Re: [Dialog]
#218329
Author: Sqwertz
Date: Tue, 01 Apr 2008 03:22
28 lines
2415 bytes
Ross Parker <ross.parker@gmail.com> wrote:

> On Tue, 25 Mar 2008 15:27:53 -0600, Eggs Zachtly wrote:
> 
>> Ross Parker said:
>> 
>>> I am looking for a script that will select and delete any messages in a
>>> group with a score of <0.      I can hack together a script but I don't
>>> know how to select messages based on score.
>> 
>> !delete Score <0 
>> 
>> won't work?
> 
> My intent is to review the messages prior to deleting.  I wanted to try out
> some new scoring entries but at the same time I wanted to make sure that I
> was not getting deleting articles that would be of interest.

Then you could just color all headers with a score < 0 in red?

!setcolor(default;red) score %<0

I don't think there's a way to loop through headers one by one.  But
I'm always underestimating Dialog.  I wouldn't know what the
internal commands/functions/variables were to be able to write such
a script.

-sw
Re: [Dialog]
#218372
Author: Drell
Date: Tue, 01 Apr 2008 21:45
27 lines
2157 bytes
Ross Parker <ross.parker@gmail.com> wrote:

> On Tue, 25 Mar 2008 15:27:53 -0600, Eggs Zachtly wrote:
> 
>> Ross Parker said:
>> 
>>> I am looking for a script that will select and delete any messages in a
>>> group with a score of <0.      I can hack together a script but I don't
>>> know how to select messages based on score.
>> 
>> !delete Score <0 
>> 
>> won't work?
> 
> My intent is to review the messages prior to deleting.  I wanted to try out
> some new scoring entries but at the same time I wanted to make sure that I
> was not getting deleting articles that would be of interest.

Create a new email folder.  I use SPAM.

!move(SPAM) Score %<0

will move the captured emails into the SPAM folder.  You can change it to

!delete Score %<0

if you want them deleted instead of downloaded. 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads