🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by Sqwertz Thu, 31 Jan 2008 23:08
[Dialog] Random Signatures
#216250
Author: Sqwertz
Date: Thu, 31 Jan 2008 23:08
32 lines
1824 bytes
Does this feature even work?

I have tried file formats that look like:

%sig1%sig2%sig3 (as one site suggested)

&sig1 line1
%Sig2 line1
line2
%sig3 line1
line2
line3 (etc...)

And finally:

%
Sig1
%
Sig2
%
Sig3

I have my signature set to "%randomsig:c:\randomsigs.txt%", and
the Signature: box in the composition window is filled in with
the name of my random Signature identifier.

No errors in the log or anything.  No signatures on my posts
either.

Is there a secret I'm not aware of?

-sw
Re: [Dialog] Random Signatures
#216251
Author: Ponder
Date: Thu, 31 Jan 2008 23:26
25 lines
1940 bytes
Hiya Sqwertz.

In <news:mzs213b2h54$.dlg@sqwertz.com> you wrote:

> %
> Sig1
> %
> Sig2
> %
> Sig3

  This is the correct format, I have another % at the end though.

> I have my signature set to "%randomsig:c:\randomsigs.txt%", and
> the Signature: box in the composition window is filled in with
> the name of my random Signature identifier.

  Same here, but I have more text too. I've used that sig here as a
demonstration.

-- 
+++Blessed are the cheese makers?
  http://www.colinjones.co.uk - ICQ# 1707811
.The Head of Inadvisably Applied Magic
.Creator of the mighty HEX.
Re: [Dialog] Random Signatures
#216255
Author: Oliver Cromm
Date: Fri, 01 Feb 2008 00:06
38 lines
2085 bytes
* Sqwertz wrote:

> Does this feature even work?

Yes, I'm using it right now.

I swear the sig was randomly selected!
 
> I have tried file formats that look like:
> 
[...] 
> And finally:
> 
> %
> Sig1
> %
> Sig2
> %
> Sig3

This one should work, but you could try what I have, an extra final %:

%
Sig1
%
Sig2
%
Sig3
%

> I have my signature set to "%randomsig:c:\randomsigs.txt%", and

This looks good, provided the location and file name is correct
(directly on C:\). I'm sure I got that wrong the first time.

-- 
The generation of random numbers is too important to be left to chance.
  Robert R. Coveyou
Re: [Dialog] Random Signatures
#216257
Author: Sqwertz
Date: Fri, 01 Feb 2008 01:04
37 lines
2281 bytes
On Thu, 31 Jan 2008 19:06:47 -0500, Oliver Cromm wrote:

> * Sqwertz wrote:
> 
>> Does this feature even work?
> 
> Yes, I'm using it right now.
> 
> I swear the sig was randomly selected!
>  
>> I have tried file formats that look like:
>> 
> [...] 
>> And finally:
>> 
>> %
>> Sig1
>> %
>> Sig2
>> %
>> Sig3
> 
> This one should work, but you could try what I have, an extra final %

I moved the file to the root directory and then it started
working.  Then I moved it back to a subdirectory and now it works
fine.

I know I had everything typed right, maybe it just wasn't
re-reading the changes in the file.  It does work now.

Next Question, but I think I already know the answer: Is there
any way to have it append the sig after you press send?  I get a
little snip happy and end up snipping the sig if it's appended
into the unedited composition window.

-sw
Re: [Dialog] Random Signatures
#216260
Author: Eggs Zachtly
Date: Fri, 01 Feb 2008 01:56
24 lines
2207 bytes
Sqwertz said:

> 

[...]
> 
> Next Question, but I think I already know the answer: Is there
> any way to have it append the sig after you press send?  I get a
> little snip happy and end up snipping the sig if it's appended
> into the unedited composition window.
> 

Once the post is sent, you can't add anything to it. You could supercede
it, but not all servers allow supercedes. If you accidentally snip it, you
can add the next random sig from the file, by using the "Signature"
dropdown, in the composition window.

HTH
-- 

Eggs

Most books now say our sun is a star. But it still knows how to change back
into a sun in the daytime.
Re: [Dialog] Random Signatures
#216265
Author: Ted S.
Date: Fri, 01 Feb 2008 03:06
11 lines
1897 bytes
On Thu, 31 Jan 2008 19:06:47 -0500, Oliver Cromm wrote:

> The generation of random numbers is too important to be left to chance.
>   Robert R. Coveyou

Anybody who uses deterministic means to obtain random numbers is, of
course, living in sin.  -- John von Neuman

-- 
Ted S.
fedya at bestweb dot net
Re: [Dialog] Random Signatures
#216266
Author: Sqwertz
Date: Fri, 01 Feb 2008 03:20
18 lines
2127 bytes
On Thu, 31 Jan 2008 19:56:54 -0600, Eggs Zachtly wrote:

> Sqwertz said:
>> 
>> Next Question, but I think I already know the answer: Is there
>> any way to have it append the sig after you press send?  I get a
>> little snip happy and end up snipping the sig if it's appended
>> into the unedited composition window.
> 
> Once the post is sent, you can't add anything to it. You could supercede
> it, but not all servers allow supercedes. 

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.

-sw
Re: [Dialog] Random Signatures
#216283
Author: Alain GUERIN
Date: Fri, 01 Feb 2008 08:04
32 lines
2685 bytes
Hello,


On Thu, 31 Jan 2008 21:20:02 -0600, Sqwertz wrote:

>> Sqwertz said:

>>> Next Question, but I think I already know the answer: Is there
>>> any way to have it append the sig after you press send?  I get a
>>> little snip happy and end up snipping the sig if it's appended
>>> into the unedited composition window.

>> Once the post is sent, you can't add anything to it. You could supercede
>> it, but not all servers allow supercedes. 

> 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 is the last place 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).

So in this place, you can only have last automatic controls but the
message sending can be stopped.


-- 
A.G.
Re: [Dialog] Random Signatures
#216284
Author: Alain GUERIN
Date: Fri, 01 Feb 2008 08:07
30 lines
2644 bytes
Hello,


On Thu, 31 Jan 2008 21:20:02 -0600, Sqwertz wrote:

>> Sqwertz said:

>>> Next Question, but I think I already know the answer: Is there
>>> any way to have it append the sig after you press send?  I get a
>>> little snip happy and end up snipping the sig if it's appended
>>> into the unedited composition window.

>> Once the post is sent, you can't add anything to it. You could supercede
>> it, but not all servers allow supercedes. 

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



-- 
A.G.
Re: [Dialog] Random Signatures
#216291
Author: Chris Game
Date: Fri, 01 Feb 2008 14:18
15 lines
1503 bytes
On Thu, 31 Jan 2008 19:06:47 -0500, Oliver Cromm wrote:

> This looks good, provided the location and file name is correct
> (directly on C:\). I'm sure I got that wrong the first time. 
> 
> -- The generation of random numbers is too important to be left
> to chance. Robert R. Coveyou

Hey, that's one of mine too!

-- 
Chris Game

"I don't know why I did it, I don't know why I enjoyed it,
and I don't know why I'll do it again." -- Bart Simpson
Re: [Dialog] Random Signatures
#216293
Author: Sqwertz
Date: Fri, 01 Feb 2008 14:37
22 lines
2520 bytes
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.

-sw
Re: [Dialog] Random Signatures
#216295
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads