🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by MikeV06 Wed, 18 Jan 2006 16:55
[Dialog] Scoring and Action
#179312
Author: MikeV06
Date: Wed, 18 Jan 2006 16:55
10 lines
1296 bytes
Is there anyway to combine scoring and action in a single expression? For
example, I use

=-1000  Subject {free\s.*(paysite|movie|game|software|mp3|video)}
!setcolor(lime;default) Subject {free\s.*(paysite|movie|game|software)}

which requires 2 entries for the same match expression. It would be nice if
only one match expression were required.

Thanks.
Re: [Dialog] Scoring and Action
#179449
Author: Arkadiusz 'Black Fox' Artyszuk
Date: Sun, 22 Jan 2006 10:51
17 lines
1829 bytes
MikeV06 wrote:

> Is there anyway to combine scoring and action in a single expression? For
> example, I use

> =-1000  Subject {free\s.*(paysite|movie|game|software|mp3|video)}
> !setcolor(lime;default) Subject {free\s.*(paysite|movie|game|software)}

> which requires 2 entries for the same match expression. It would be nice if
> only one match expression were required.

IMVHO better way is to set score first and at the end set colors by
score - it's shorter and easier.

-- 
Regards
Arkadiusz 'Black Fox' Artyszuk
Re: [Dialog] Scoring and Action
#179538
Author: MikeV06
Date: Tue, 24 Jan 2006 06:53
17 lines
1524 bytes
On Sun, 22 Jan 2006 11:51:26 +0100, Arkadiusz 'Black Fox' Artyszuk wrote:

> MikeV06 wrote:
> 
>> Is there anyway to combine scoring and action in a single expression? For
>> example, I use
> 
>> =-1000  Subject {free\s.*(paysite|movie|game|software|mp3|video)}
>> !setcolor(lime;default) Subject {free\s.*(paysite|movie|game|software)}
> 
>> which requires 2 entries for the same match expression. It would be nice if
>> only one match expression were required.
> 
> IMVHO better way is to set score first and at the end set colors by
> score - it's shorter and easier.

Uhm, that makes sense and takes less work. Thanks.
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