🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Wedgie Sat, 22 May 2004 05:14
[Dialog] Score on, but not when from?
#148668
Author: Wedgie
Date: Sat, 22 May 2004 05:14
12 lines
1561 bytes
Hi all,

Is it possible, using Dialog's scoring language, to score on a certain term
(say !delete Subject "insert term here"), but then add a "not" condition to
that to state that the term should be filtered on, but not when it is from
a certain author? ie !delete Subject "insert term here" but not when the
author is "mr x"

-- 
Regards,

Wedgie
Re: [Dialog] Score on, but not when from?
#148671
Author: Antonio 'Gandalf' Favata
Date: Sat, 22 May 2004 05:22
13 lines
1659 bytes
Je la 22/05/04, Wedgie skribis:

> !delete Subject "insert term here" but not when the author is "mr x"

!delete Subject "insert term here" -@From: "Mister X"

Even better:
!delete Subject {\b(term)\b} -@From: {^Mister X <mister_x@example\.org>}
-- 
Fare Well!      FIAG member | Free mail & news | 40tude Dialog v2.0.12.1
G               www.fiag.it | www.x-planet.org | http://snurl.com/dialog

Miranda, Trillian, ICQ, MSN: news:it-alt.comp.software.instant-messaging
Re: [Dialog] Score on, but not when from?
#148674
Author: »Q«
Date: Sat, 22 May 2004 06:23
15 lines
1721 bytes
Antonio 'Gandalf' Favata <gandalf@ithn.net> wrote in
<news:arad36flw973$.dlg@gandalf.my-fqdn.de>:

>> !delete Subject "insert term here" but not when the author is "mr
>> x"
>
> !delete Subject "insert term here" -@From: "Mister X"
>
> Even better:
> !delete Subject {\b(term)\b} -@From: {^Mister X <mister_x@example\.org>}

Is all of Dialog's scoring syntax the same as Hamster's?

-- 
»Q«
Re: [Dialog] Score on, but not when from?
#148676
Author: Antonio 'Gandalf' Favata
Date: Sat, 22 May 2004 06:37
12 lines
1783 bytes
Je la 22/05/04, »Q« skribis:

>> !delete Subject {\b(term)\b} -@From: {^Mister X <mister_x@example\.org>}
> Is all of Dialog's scoring syntax the same as Hamster's?

For the greater part; but some of the latest changes in Hamster's syntax
may have changed this situation, I don't know.
-- 
Fare Well!      FIAG member | Free mail & news | 40tude Dialog v2.0.12.1
G               www.fiag.it | www.x-planet.org | http://snurl.com/dialog

Miranda, Trillian, ICQ, MSN: news:it-alt.comp.software.instant-messaging
Re: [Dialog] Score on, but not when from?
#148684
Author: Jarrod Cifer
Date: Sat, 22 May 2004 09:46
10 lines
1979 bytes
»Q«, upon reaching nirvana, postulated:

> Is all of Dialog's scoring syntax the same as Hamster's?

Marcus used Hamster's RegEx engine, so it should be pretty close. :)
-- 
J. Cifer
40tude Dialog FAQ: http://snurl.com/4um8
40tude Dialog script library: http://snurl.com/4umc
40tude Dialog links: http://snurl.com/4umg
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