🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #180900

Re: [slrn] Anyone have some s-lang code to do quick score setting?

#180900
From: SINNER
Date: Wed, 22 Feb 2006 15:17
28 lines
1975 bytes
* Adam Funk wrote in news.software.readers:

> I'm trying to figure out how to write some s-lang code to get slrn to
> do the following tasks with one or two keystrokes each in article
> mode:
> 
> (1) add a score entry of +10 for all groups for the current article's
>     Subject, with an expiry of +30 days;
> 
> (2) add a score entry of +10 for all groups for the current article's
>     From, with no expiry.
> 
> But I'm fairly new to slrn and completely new to s-lang, so I'd
> appreciate it if anyone could post some code that does something close
> to the above tasks so I could modify it for my own needs and learn as
> I go.
> 
> Thanks,
> Adam
> 
> 

Have you seen this macro:

http://www.slrn.org/macros/onekey-score.sl

-- 
David
Technical Details
Message-ID: <Xns97725E97D6D02louiscypherhellorg@140.99.99.130>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!nx02.iad01.newshosting.com!newshosting.com!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!fe07.news.easynews.com.POSTED!not-for-mail
References: <9t1uc3-155.ln1@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns97725E97D6D02louiscypherhellorg@140.99.99.130>
Subject: Re: [slrn] Anyone have some s-lang code to do quick score setting?
Date: Wed, 22 Feb 2006 15:17:51 GMT
From: SINNER <arcade.master@gmail.com>
References: <9t1uc3-155.ln1@news.ducksburg.com>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!nx02.iad01.newshosting.com!newshosting.com!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!fe07.news.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Hell.org
User-Agent: Xnews/5.04.25
X-Face: #sn6gF@jD*I3X;
 _)M5ymNQ1wG39y^'rxXRA5y-oi7.T/>P.P-40N\&-q'Mu+DWRSTF[}`Vtd85KnX\fe1~p-<(9U<zenv]u["swbx<^u;
 %a:ro>w=r"qdVdsY_@\.mDg9"ruPsYjX.Bi9M#gF-fG5=obWVG'>0W*w3RC
Lines: 28
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.