🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #217336

Re: [Dialog] Help with Scripting

#217336
From: Rom
Date: Sat, 01 Mar 2008 03:13
38 lines
2735 bytes
On Fri, 29 Feb 2008 21:44:49 GMT, Sqwertz wrote:

> I'm still trying to figure out why this simple script wants to change 
> my existing "X-No-Archive: Yes" into "X-No-archive: banter", 
> and  then add another one at the end.  It should add the one at 
> the one at the end, but not change by existing 'XNA: Yes' header.
[Script]
> This script produces headers like:
...
> X-No-Archive: banter
> X-WebTV-Stationery: Standard; BGColor=red; <wrapped>
> Background="http://i26.tinypic.com/25polj9.gif"; TextColor=red
> X-No-Archive: banter
...
> 
> As you can see from my current headers, Dialog inserts the XNA header
> from the option in my "Identities" setup options, along with my other
> custom X-Header (X-WebTV-Stationery), and then script comes along and
> appends another XNA header at the bottom, just before my news-server's
> headers are stamped on there.
> 
> But why does it change the first XNA from "yes" into "banter"?  I have
> removed the XNA custom header and redefined it under X-Headers and
> Identities, but it still shows up as "banter" instead of "yes" and I
> can only assume that this script is changing it.

I've added the following X-Header to my usual:
X-WebTV-Stationery: Standard; BGColor=red; Background="http://i26.tinypic.com/25polj9.gif"; TextColor=red

The 'OnBeforeSendingMessage' script I use has been deleted and now
only have the script you posted, which tested fine using Hamster, so
I'll see how it goes posting normally.

While composing, on the All headers tab, if you select X-No-Archive
from X-Headers the drop-down list, does it show yes?

-- 
Rom
Technical Details
Message-ID: <cqn7m0wj9kcv$.vk7yc069kpim.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <ha9nabr6k714$.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <cqn7m0wj9kcv$.vk7yc069kpim.dlg@40tude.net>
Subject: Re: [Dialog] Help with Scripting
Date: Sat, 1 Mar 2008 14:13:11 +1100
From: Rom <-@-.invalid>
References: <ha9nabr6k714$.dlg@sqwertz.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 38
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net soWwXp7NPF27q9Oen60qoAPYXig0M4PklRjQhh4P7D9JY1uBEJ
Cancel-Lock: sha1:x3V+tQTxmpj+jStFNgIFyjg1J1I=
User-Agent: 40tude_Dialog/2.0.15.41
Archive: no
X-No-Archive: yes
X-WebTV-Stationery: Standard; BGColor=red;
 Background="http://i26.tinypic.com/25polj9.gif"; TextColor=red
X-No-Archive: banter