🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #180896

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

#180896
From: Adam Funk
Date: Wed, 22 Feb 2006 12:26
18 lines
1403 bytes
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
Technical Details
Message-ID: <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!transit3.readnews.com!news-out.readnews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <9t1uc3-155.ln1@news.ducksburg.com>
Subject: [slrn] Anyone have some s-lang code to do quick score setting?
Date: Wed, 22 Feb 2006 12:26:49 +0000
From: Adam Funk <a24061@yahoo.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!transit3.readnews.com!news-out.readnews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 18
X-Trace: individual.net /hdx5uq0NuTtxZHJUmkjjwL+vJCbcyfVufJcgm/DMtnCSSBjLz
X-Orig-Path: news.ducksburg.com!news
User-Agent: slrn/0.9.8.1pl1 (Debian)