🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #216295

Re: [Dialog] Random Signatures

#216295
From: Oliver Cromm
Date: Fri, 01 Feb 2008 17:23
40 lines
3211 bytes
* Sqwertz wrote:

> On Fri, 1 Feb 2008 09:07:51 +0100, Alain GUERIN wrote:
> 
>> Hello,
>>
>>> I mean, after I press send, but before it actually gets sent.
>>> IOW, having Dialog append a .sig just before it does a POST to
>>> the server.  Rather than having Dialog add it before you enter
>>> the composition window.
>> 
>> On beforesendingmessage and OnoutgoingMessageCheck are the last places
>> where you can have a script that can do things like adding text (that
>> that way my hello is added) or looking if your post is following your own
>> rules (in my case, the script count the number of quoted lines whithout
>> comment and stop sending if they are too numerous).
> 
> I hadn't thought about using one of the message action triggers.
> Is there a procedure name for the add-random-signature routine?
> That would save me from coding a whole new random sig generator
> from scratch - which is something I probably wouldn't undertake.
> I will only use this sig in one or two groups, not all of them.

This one should be a good example to start from:

<http://www.40tude.com/dialog/wiki/index.php/ScriptDateTimeInsert>

How to check which Newsgroup you are posting to:

<http://www.40tude.com/dialog/wiki/index.php/ScriptReplaceSubstring>,
search " //look for the Newsgroups: header"

Many more scripts here:

<http://www.40tude.com/dialog/wiki/index.php/Script_Library>

-- 
Bill Gates working as a waiter:
- Waiter, there's a fly in my soup
- Try again, maybe it won't be there this time
Technical Details
Message-ID: <clgk07wica8o$.dlg@mid.crommatograph.info>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!mauve.octanews.net!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
References: <mzs213b2h54$.dlg@sqwertz.com> <1xjzhxh96345z.dlg@mid.crommatograph.info> <1n95okcmggzyi.dlg@sqwertz.com> <2xmdycr2pvrx.dlg@sneupie.eingang.org> <1g98022k0taxj$.dlg@sqwertz.com> <9sa7l32fasjy.dlg@alain-guerin.com> <itic19gv1req$.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <clgk07wica8o$.dlg@mid.crommatograph.info>
Subject: Re: [Dialog] Random Signatures
Date: Fri, 1 Feb 2008 12:23:27 -0500
From: Oliver Cromm <lispamateur@yahoo.de>
References: <mzs213b2h54$.dlg@sqwertz.com> <1xjzhxh96345z.dlg@mid.crommatograph.info> <1n95okcmggzyi.dlg@sqwertz.com> <2xmdycr2pvrx.dlg@sneupie.eingang.org> <1g98022k0taxj$.dlg@sqwertz.com> <9sa7l32fasjy.dlg@alain-guerin.com> <itic19gv1req$.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!border2.nntp.dca.giganews.com!nntp.giganews.com!mauve.octanews.net!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1de
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: École Nationale Supérieure de la Bananologie
X-Face: .f:ZE>c\~9oJ+1nK#>ntSHOQS~4x"Qx2m(<D<@p$G"tzb1lgWLUGY.zApKa@VL_?d$r(8=?VjrD9=uY:x!+H=hvj58Uw7)Y9<:KMYD.+^~#qMpeg2rvt`{#2a~7YoyFaFaBEdo4.TJzBqgtCZZ:mku4J|hey}DE}_"z(rl0N)\Pxh*0$"3B2mr\01&YPY7WJ:2kSe'I#PqiTxs1s49!S#W85'\zMXy*wRgD,,k.=4:3M{(P"i6S;
 \az~ut3z`; ?*Y;
 &]11<(EPF-SN`|3PhyL%~AuZpoFjjE_oM1`znHPq_?uib2WXwE+q@m),cLq~B$r^5uO]u6?CEecn=%xsDXNVa(1DX.)O(
Cancel-Lock: sha1:NS4f6Y+YMWSTXiJugB77awOHz2o=
Lines: 40
NNTP-Posting-Date: 01 Feb 2008 11:23:26 CST
X-Complaints-To: abuse@octanews.net
X-Original-Bytes: 2894