🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #136292

Re: [Dialog] Scripting question

#136292
From: Jarrod Cifer
Date: Tue, 28 Oct 2003 04:54
13 lines
1966 bytes
Ernie Ramaker, upon reaching Nirvana, postulated:

> Now, if I wanted to check which newsgroup the message is sent to, and
> then only add the header if that group is "foo.bar", how would I go
> about doing that?

I'm not a scripting expert, but you might want to take a look at 
http://40tude.com/dialog/wiki/index.php/JustifyMessage

The script contains the function you're looking for and you should be able 
to extract it for your own use.
-- 
J. Cifer
Technical Details
Message-ID: <WuadnTh3vYI1awCiRVn-iw@giganews.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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!nntp.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <14njz20cxpwyw$.1x5lgm0w0isr5$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <WuadnTh3vYI1awCiRVn-iw@giganews.com>
Subject: Re: [Dialog] Scripting question
Date: Tue, 28 Oct 2003 05:54:02 +0100
From: Jarrod Cifer <jcifer@hotmail.com>
References: <14njz20cxpwyw$.1x5lgm0w0isr5$.dlg@40tude.net>
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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!nntp.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 27 Oct 2003 22:55:03 -0600
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.7.67 (9ec61305.430.84)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: jcifer@hotmail.com
Organization: none
X-Face: UZvKnibK-uhaf~fIu]<CfbBHzG@i8/xc\tbfK0&2LNVwJ~\`Q|5|sd_D[LMO/}'GV,
 Ud*Ue i, 8ea:tO.VUq9$bo1~5XFaHkqx)o36}A7D45qrBwjO6OW~h(
X-Palms: Vx, m505, m515, Tungsten T
Lines: 13
X-Trace: sv3-4PktreMaEI9C9VoEn5oxnPytEfnfxCw+oScam1y9MdJgAZkFeWsBaPwDDP11tZsVx1+s+uh3zJjjITw!NJLDqZtlvuOHRZ9jWFJhdEICLsvuhAiNhxTcU580WSwCinKawKWagEMzzErHYg==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.1