🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #84193

Re: [SLRN] - Adding auto-watch to my own postings

#84193
From: Faux_Pseudo
Date: Sun, 09 Sep 2001 06:16
57 lines
3136 bytes
--(Once apon a time, in news.software.readers,)--
		--(Mike Graham said it like only they can.)--
>   Yesterday I downloaded cleanscore and OneKeyScore.sl from the slrn.org
> website, and I'm trying to get enough macros happening to trigger a watch
> for any subject that I post a new article or followup article to.  I used
> the followup_hook to trigger a call to OneKeyScore->create_score, and it
> works fabulously, but using post_hook doesn't work because
> OneKeyScore->create_score can't be called from group level, which is where
> I'd be to post a new article.  I may well be missing something obvious...
> it's been a loooooong time since I did any real programming of any note.
>   So... is there another hook I should be using?
> 
>   The only real drawback to using these macros is that the watches get
> duplicated... post 5 followups to one thread, and you get 5 watches in the
> score file.  I can live with that - I really really hate missing followups
> to my articles.
> 

I of course have my name set to 9999 but in addition I posted a while
back on how to stop my posts from being marked read when catching up.

Some one pointed this out.  This way i can see if any replys have been
done to threads i am in and once a post has become stale i can just
un* it and catch up.


%% adjust path and add to your .slrnrc
interpret /home/faux/.News/header_fix.sl

%% creat the above file with the above name.
define tag_high_scores ()
{
   uncollapse_threads ();
   forever
     {
     variable header = get_header_score();
     if (header = 9999) set_header_flags (HEADER_TAGGED);
        !if (header_down (1))
          break;
     }
   collapse_threads ();
   call ("header_bob");
}

define article_mode_hook ()
{
    tag_high_scores;
}



-- 
 --(tty1@faux.local|04:45|/home/faux)-- cat .sig
GUI's are for slackers.  Get ibpconf.sh 6.1 on freshmeat.net  
It's a damn poor mind that can only think of one way to spell a word.
        - Andrew Jackson
Technical Details
Message-ID: <slrn9pm223.4d8.Faux_Pseudo@faux.cx936102-a.fed1.sdca.home.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.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sdca.home.com.POSTED!not-for-mail
References: <slrn9pkffm.vh.mike@localhost.localdomain>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9pm223.4d8.Faux_Pseudo@faux.cx936102-a.fed1.sdca.home.com>
Subject: Re: [SLRN] - Adding auto-watch to my own postings
Date: Sun, 09 Sep 2001 06:16:46 GMT
From: Faux_Pseudo@yahoo.comERCIAL (Faux_Pseudo)
References: <slrn9pkffm.vh.mike@localhost.localdomain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sdca.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Reply-To: Faux_Pseudo@yahoo.comERCIAL
User-Agent: slrn/0.9.7.1 (Linux)
Lines: 56
NNTP-Posting-Host: 24.177.56.253
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.sdca.home.com 1000016206 24.177.56.253 (Sat, 08 Sep 2001 23:16:46 PDT)
NNTP-Posting-Date: Sat, 08 Sep 2001 23:16:46 PDT
Organization: Excite@Home - The Leader in Broadband http://home.com/faster