🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #217337

Re: [Dialog] Help with Scripting

#217337
From: Sqwertz
Date: Sat, 01 Mar 2008 04:53
57 lines
3926 bytes
On Sat, 1 Mar 2008 14:13:11 +1100, Rom wrote:

> 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

I'd really like a better picture, that was just the first one I
saw when I was testing it.  And it work fine judging from the
negative feedback I've received from WebTV users :-)

> 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.

Yours looks fine <grumble>.

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

Yep.  I'll change it to "no" here just for kicks.

It *used to* say "banter" in my X-Headers settings, but I changed
it back to "yes".  

I even did a full text search for the word "banter" (using
Windows Explorer "Search" util) in my ./40tuee directory and it
doesn't find banter.  Not even in my Scripts directory for some
reason.  Weird.

Now this is pissing me off.

-sw
Technical Details
Message-ID: <103fjr2c6hhb1$.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!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr27.news.prodigy.net.POSTED!666d6152!not-for-mail
References: <ha9nabr6k714$.dlg@sqwertz.com> <cqn7m0wj9kcv$.vk7yc069kpim.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <103fjr2c6hhb1$.dlg@sqwertz.com>
Subject: Re: [Dialog] Help with Scripting
Date: Sat, 01 Mar 2008 04:53:05 GMT
From: Sqwertz <swertz@cluemail.compost>
References: <ha9nabr6k714$.dlg@sqwertz.com> <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!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr27.news.prodigy.net.POSTED!666d6152!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Organization
Archive: no
Distribution: Test Distrib
Keywords: Testing Keywords
Summary: Testing Summary
X-No-Archive: banter
X-WebTV-Stationery: Standard; BGColor=red;
 Background="http://i26.tinypic.com/25polj9.gif"; TextColor=red
X-No-Archive: banter
Lines: 57
NNTP-Posting-Host: 75.55.119.163
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr27.news.prodigy.net 1204347185 ST000 75.55.119.163 (Fri,
NNTP-Posting-Date: Fri, 29 Feb 2008 23:53:05 EST
X-UserInfo1: FKPO@MC@@S@US^T[KROLN[TDFZ\@@FXLM@TDOCQDJ@_@FN\CDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN