Back to the main page

Mailing List Logs for ShadowRN

Message no. 1
From: shadowrn@*********.com (Gurth)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 13:10:01 2001
After Wally's request earlier today for a program to generate SR1/2-era
signatures, I decided to write something that does what I suppose he meant.
The result is the HTML file I've included in this post, below. (I didn't
attach it because <GridSec warning>attachments are a no-no on the
list</GridSec warning>; I'm also hoping HTML-equipped mailers will ignore
it, but I'm not sure...)

Anyway, hopefully this is useful to someone :)


Instructions for use: everything between the <pre> and </pre> tags below
is the program/HTML file. (These are there to try and make sure that those
using HTML mailers will also see the script. If you see text boxes, a
button, etc., and the button actually does something when you click on it,
I'd suggest switching OFF certain "features" of your mailer _right_now_ :)
In this case, when you can't see the actual code, save the message to disk,
open it in a _text_ editor (not a web browser) and remove everything up to
and including the <pre> tag, and also the </pre> tag at the end and
everything after it.

If you can see the code rather than the text boxes, copy all of the code
that's between those two tags into a new, empty text file and save it to
your hard drive, preferably with ".html" or ".htm" extension.

In either case, you next open the file in your favorite web browser. Enter
the text you want into the first text box (the one with "In-text" above it)
and the name of the poster into the text box below it; copying and pasting
will be the best method, I would imagine. Then hit the Make It So... button
and the text will be Shadowrun-ized in the lower text box. If you want to
use this in a web page, check the Output As HTML box and you'll get all the
HTML character codes necessary to avoid problems, in place of the normal
larger- and smaller-than signs.

The scripts were tested in Opera 5.0 and Netscape 4.7something and found to
work without problems; hopefully they'll also do just that in other web
browsers :)

<pre>


<html>
<head>
<title>Shadowquoter</title>
<script language="JavaScript">
<!-- // Hide script from old browsers

function QuoteIt (InText, Poster, AsHTML) {

var OutText

if (AsHTML)
{
OutText = "&gt;&gt;&gt;&gt;&gt;[" + InText
+ "]&lt;&lt;&lt;&lt;&lt;\n&mdash;" + Poster + "
" + TimeDateStamp()
}
else
{
OutText = ">>>>>[" + InText +
"]<<<<<\n-" + Poster + " " + TimeDateStamp()
}

return OutText
}

function TimeDateStamp () {

Today = new Date()
ThisYear = 1900 + Today.getYear() // Y2K correction, else we get year 101
instead of 2001...
Hours = Today.getHours().toString()
if (Hours.length == 1) Hours = "0" + Hours
Minutes = Today.getMinutes().toString()
if (Minutes.length == 1) Minutes = "0" + Minutes
Seconds = Today.getSeconds().toString()
if (Seconds.length == 1) Seconds = "0" + Seconds

return "(" + Hours + ":" + Minutes + ":" + Seconds +
"/" + Today.getMonth() + "-" + Today.getDate() + "-" +
ThisYear.toString() + ")"

}

// end of script -->
</script>
</head>

<body>

<noscript>
<p><strong>Better get a JavaScript-capable browser</strong> (or switch
JavaScript support on, in case you already have one).</p>
</noscript>


<form name="Quoter">

<h3>In-text</h3>

<textarea cols="80" rows="10"
name="TextIn"></textarea>

<p>Poster's name: <input type="text" width="20"
name="YourNameHere"></p>

<p><input type="checkbox" name="HTMLout"
onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
HTMLout.checked)"> Output as HTML</p>

<p><input type="button" name="QuoteNow"
value="Make it so..." onclick="Quoter.TextOut.value =
QuoteIt(TextIn.value, YourNameHere.value, HTMLout.checked)"></p>

<h3>Out-text</h3>

<textarea cols="80" rows="10"
name="TextOut"></textarea><br>

</form>


</body>
</html>


</pre>

--
Gurth@******.nl - http://www.xs4all.nl/~gurth/index.html
Conformity is our tragedy
-> NAGEE Editor * ShadowRN GridSec * Triangle Virtuoso <-
-> The Plastic Warriors Page: http://plastic.dumpshock.com <-

GC3.12: GAT/! d-(dpu) s:- !a>? C+@ UL P L++ E W-(++) N o? K w+(--) O V?
PS+ PE(-)(+) Y PGP- t@ 5++ X(+) R+++(-)>$ tv+ b++@ DI- D+ G+ e h! !r y?
Incubated into the First Church of the Sqooshy Ball, 21-05-1998
Message no. 2
From: shadowrn@*********.com (shadowrn@*********.com)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 13:15:01 2001
--part1_ab.ab7bd26.2855068f_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

It came out as HTML in AOL 6, Gurth

--part1_ab.ab7bd26.2855068f_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica><FONT SIZE=2>It came out as HTML in
AOL 6, Gurth</FONT></HTML>

--part1_ab.ab7bd26.2855068f_boundary--
Message no. 3
From: shadowrn@*********.com (Wally the Intrepid)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 16:05:01 2001
----- Original Message -----
From: "Gurth" <Gurth@******.nl>
To: <shadowrn@*********.com>
Sent: Sunday, June 10, 2001 11:03 AM
Subject: For Wally: time/date stamp generator

Excellent Gurth!! Wow! That's really keen! (That's right, I said KEEN!)
One tiny problem however ... well, check it our for yourself. Here's the
results of my first (purely sample, I assure you) use of it:

>>>>>[Yo chummers! I just did a mega-run on Renraku, and broke out with
over
1-mil¥!! I kid you not!]<<<<<
-Loco (13:29:51/5-10-3901)

OK, if you're not seeing the problem, check out the year. heeheehee This
is postings for the Sixth World, not the ...*Counting on fingers. Counting
on toes. Grabbing up the cat. OW! Guessing...* Eighth World!...(ninth?)
=)

Anyways, I left your HTML in this reply so you can see it immediately.
Hmm, interesting, no quote marks.
Also, everyone, this message is supposed to be in plain text, and yet I
see the email addresses, above & below, in color. So, AM I in plain text?

Thanks so much Gurth! I stand in awe of your computatorial capabilities!
(Does he do kewlage like this often, people?)

(HTML to follow)

--
Wally -- http://members.nbci.com/stormknight1/home.html
Please Message me on ICQ: #163454


<pre>


<html>
<head>
<title>Shadowquoter</title>
<script language="JavaScript">
<!-- // Hide script from old browsers

function QuoteIt (InText, Poster, AsHTML) {

var OutText

if (AsHTML)
{
OutText = "&gt;&gt;&gt;&gt;&gt;[" + InText +
"]&lt;&lt;&lt;&lt;&lt;\n&mdash;" + Poster + "
" + TimeDateStamp()
}
else
{
OutText = ">>>>>[" + InText +
"]<<<<<\n-" + Poster + " " + TimeDateStamp()
}

return OutText
}

function TimeDateStamp () {

Today = new Date()
ThisYear = 1900 + Today.getYear() // Y2K correction, else we get year 101
instead of 2001...
Hours = Today.getHours().toString()
if (Hours.length == 1) Hours = "0" + Hours
Minutes = Today.getMinutes().toString()
if (Minutes.length == 1) Minutes = "0" + Minutes
Seconds = Today.getSeconds().toString()
if (Seconds.length == 1) Seconds = "0" + Seconds

return "(" + Hours + ":" + Minutes + ":" + Seconds +
"/" + Today.getMonth()
+ "-" + Today.getDate() + "-" + ThisYear.toString() + ")"

}

// end of script -->
</script>
</head>

<body>

<noscript>
<p><strong>Better get a JavaScript-capable browser</strong> (or switch
JavaScript support on, in case you already have one).</p>
</noscript>


<form name="Quoter">

<h3>In-text</h3>

<textarea cols="80" rows="10"
name="TextIn"></textarea>

<p>Poster's name: <input type="text" width="20"
name="YourNameHere"></p>

<p><input type="checkbox" name="HTMLout"
onclick="Quoter.TextOut.value QuoteIt(TextIn.value, YourNameHere.value,
HTMLout.checked)"> Output as
HTML</p>

<p><input type="button" name="QuoteNow" value="Make it
so..."
onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
HTMLout.checked)"></p>

<h3>Out-text</h3>

<textarea cols="80" rows="10"
name="TextOut"></textarea><br>

</form>


</body>
</html>


</pre>
Message no. 4
From: shadowrn@*********.com (shadowrn@*********.com)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 16:10:01 2001
--part1_123.1b4056.28552f06_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

No, he doesn't do it often. Just on rare occasions for us to bow in
worship.:-)

--part1_123.1b4056.28552f06_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica><FONT SIZE=2>No, he doesn't do it
often. Just on rare occasions for us to bow in
<BR>worship.:-)</FONT></HTML>

--part1_123.1b4056.28552f06_boundary--
Message no. 5
From: shadowrn@*********.com (Wally the Intrepid)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 16:50:01 2001
From: DemonPenta@***.com

>No, he doesn't do it often. Just on rare occasions for us to bow in
>worship.:-)

heh, Wow, I feel like a Kennedy! Thanks again, Gurth.

(Quoting still not working. I had to add those. What's up with that?)

--
Wally -- http://members.nbci.com/stormknight1/home.html
Please Message me on ICQ: #163454
Message no. 6
From: shadowrn@*********.com (shadowrn@*********.com)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 16:55:01 2001
--part1_8a.7e43c0e.2855395d_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

In a message dated 6/10/01 4:57:07 PM Eastern Daylight Time,
stormknight@*********.net writes:


>No, he doesn't do it often. Just on rare occasions for us to bow in
>worship.:-)

heh, Wow, I feel like a Kennedy! Thanks again, Gurth

Like a KENNEDY? Dare I ask?

--part1_8a.7e43c0e.2855395d_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica><FONT SIZE=2>In a message dated
6/10/01 4:57:07 PM Eastern Daylight Time,
<BR>stormknight@*********.net writes:
<BR>
<BR>
<BR></FONT><FONT COLOR="#000000" SIZE=3
FAMILY="SANSSERIF" FACE="Arial" LANG="0">&gt;No, he
doesn't do it often. Just on rare occasions for us to bow in
<BR>&gt;worship.:-)
<BR>
<BR>heh, Wow, I feel like a Kennedy! Thanks again, Gurth</FONT><FONT
COLOR="#000000" SIZE=3 FAMILY="SANSSERIF" FACE="Arial"
LANG="0">
<BR></FONT><FONT COLOR="#000000" SIZE=3
FAMILY="SANSSERIF" FACE="Arial" LANG="0">
<BR>Like a KENNEDY? Dare I ask?</FONT></HTML>

--part1_8a.7e43c0e.2855395d_boundary--
Message no. 7
From: shadowrn@*********.com (Wally the Intrepid)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 17:25:01 2001
(Once again, had to manually add the quote marks... Why?)

----- Original Message -----
From: DemonPenta@***.com
Sent: Sunday, June 10, 2001 2:58 PM
Subject: Re: For Wally: time/date stamp generator


In a message dated 6/10/01 4:57:07 PM Eastern Daylight Time,
stormknight@*********.net writes:


>>>No, he doesn't do it often. Just on rare occasions for us to bow in
>>>worship.:-)

>>heh, Wow, I feel like a Kennedy! Thanks again, Gurth

>Like a KENNEDY? Dare I ask?

The Kennedys, ie. American Royalty ... what few of 'em remain.

--
Wally -- http://members.nbci.com/stormknight1/home.html
Please Message me on ICQ: #163454
Message no. 8
From: shadowrn@*********.com (Iridios)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 20:25:01 2001
Wally the Intrepid wrote:

> >>>>>[Yo chummers! I just did a mega-run on Renraku, and broke out
with over
> 1-mil¥!! I kid you not!]<<<<<
> -Loco (13:29:51/5-10-3901)
>
> OK, if you're not seeing the problem, check out the year. heeheehee This
> is postings for the Sixth World, not the ...*Counting on fingers. Counting
> on toes. Grabbing up the cat. OW! Guessing...* Eighth World!...(ninth?)
> =)


It worked fine on my machine. What browser are you using?

Iridios
Message no. 9
From: shadowrn@*********.com (Iridios)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 20:30:01 2001
Iridios wrote:
>
> Wally the Intrepid wrote:
>
> > >>>>>[Yo chummers! I just did a mega-run on Renraku, and broke
out with over
> > 1-mil¥!! I kid you not!]<<<<<
> > -Loco (13:29:51/5-10-3901)
> >
> > OK, if you're not seeing the problem, check out the year. heeheehee This
> > is postings for the Sixth World, not the ...*Counting on fingers. Counting
> > on toes. Grabbing up the cat. OW! Guessing...* Eighth World!...(ninth?)
> > =)
>
> It worked fine on my machine. What browser are you using?

I just tested it on IE 5.x and got the 3901 year. :)
>
> Iridios
Message no. 10
From: shadowrn@*********.com (shadowrn@*********.com)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 21:20:01 2001
At 03:30 PM 6/10/2001 -0600, Wally wrote:
>(Once again, had to manually add the quote marks... Why?)
>

Easy answer there. DemonPenta is posting in HTML, which is really getting
rather annoying. I usually don't say anything, since I am not in anyway
related or associated with GridSec, but here, I just answered your question.

Dave
Message no. 11
From: shadowrn@*********.com (shadowrn@*********.com)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 21:45:01 2001
--part1_e8.160289e6.28557e00_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

In a message dated 6/10/01 9:27:14 PM Eastern Daylight Time, caelric@****.com
writes:


Easy answer there. DemonPenta is posting in HTML, which is really getting
rather annoying. I usually don't say anything, since I am not in anyway
related or associated with GridSec, but here, I just answered your question.

If I chould change it, I would. However, at the moment, I'm
constrained to AOL, so..to put this politely, go screw a whale or six,
please.:-P

--part1_e8.160289e6.28557e00_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica>In a message dated 6/10/01 9:27:14 PM Eastern
Daylight Time, caelric@****.com
<BR>writes:
<BR>
<BR>
<BR>Easy answer there. &nbsp;DemonPenta is posting in HTML, which is really
getting
<BR>rather annoying. &nbsp;I usually don't say anything, since I am not in
anyway
<BR>related or associated with GridSec, but here, I just answered your
question.<FONT SIZE=3>
<BR></FONT><FONT COLOR="#000000" SIZE=3
FAMILY="SANSSERIF" FACE="Arial" LANG="0">
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If I chould change
it, I would. However, at the moment, I'm
<BR>constrained to AOL, so..to put this politely, go screw a whale or six,
<BR>please.:-P</FONT></HTML>

--part1_e8.160289e6.28557e00_boundary--
Message no. 12
From: shadowrn@*********.com (shadowrn@*********.com)
Subject: For Wally: time/date stamp generator
Date: Sun Jun 10 21:50:01 2001
At 09:50 PM 6/10/2001 EDT, DemonPenta wrote:
>In a message dated 6/10/01 9:27:14 PM Eastern Daylight Time,
caelric@****.com
>writes:
>
>
> DemonPenta is posting in HTML, which is really getting
> I usually don't say anything, since I am not in anyway
>related or associated with GridSec, but here, I just answered your question.
>
> If I chould change it, I would. However, at the moment, I'm
>constrained to AOL, so..to put this politely, go screw a whale or six,
>please.:-P

Give me a fucking break! I have seen more than once posted to this board
and directed specifically at you, instructions on how to get AOL to send
plain text. And you have even demonstrated that you know how to use them.

Dave
Message no. 13
From: shadowrn@*********.com (Jamz)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 01:45:01 2001
> Excellent Gurth!! Wow! That's really keen! (That's right, I said
KEEN!)
> One tiny problem however ... well, check it our for yourself. Here's
the
> results of my first (purely sample, I assure you) use of it:
>
> >>>>>[Yo chummers! I just did a mega-run on Renraku, and broke out
with
over
> 1-mil¥!! I kid you not!]<<<<<
> -Loco (13:29:51/5-10-3901)
>

You are getting the full year + 1900. Just change the following line:


> OK, if you're not seeing the problem, check out the year. heeheehee
This
> is postings for the Sixth World, not the ...*Counting on fingers. Counting
> on toes. Grabbing up the cat. OW! Guessing...* Eighth World!...(ninth?)
> =)
>
> Anyways, I left your HTML in this reply so you can see it immediately.
> Hmm, interesting, no quote marks.
> Also, everyone, this message is supposed to be in plain text, and yet
I
> see the email addresses, above & below, in color. So, AM I in plain text?
>
> Thanks so much Gurth! I stand in awe of your computatorial
capabilities!
> (Does he do kewlage like this often, people?)
>
> (HTML to follow)
>
> --
> Wally -- http://members.nbci.com/stormknight1/home.html
> Please Message me on ICQ: #163454
>
>
> <pre>
>
>
> <html>
> <head>
> <title>Shadowquoter</title>
> <script language="JavaScript">
> <!-- // Hide script from old browsers
>
> function QuoteIt (InText, Poster, AsHTML) {
>
> var OutText
>
> if (AsHTML)
> {
> OutText = "&gt;&gt;&gt;&gt;&gt;[" + InText +
> "]&lt;&lt;&lt;&lt;&lt;\n&mdash;" + Poster + "
" + TimeDateStamp()
> }
> else
> {
> OutText = ">>>>>[" + InText +
"]<<<<<\n-" + Poster + " " + TimeDateStamp()
> }
>
> return OutText
> }
>
> function TimeDateStamp () {
>
> Today = new Date()
> ThisYear = 1900 + Today.getYear() // Y2K correction, else we get year 101
> instead of 2001...
> Hours = Today.getHours().toString()
> if (Hours.length == 1) Hours = "0" + Hours
> Minutes = Today.getMinutes().toString()
> if (Minutes.length == 1) Minutes = "0" + Minutes
> Seconds = Today.getSeconds().toString()
> if (Seconds.length == 1) Seconds = "0" + Seconds
>
> return "(" + Hours + ":" + Minutes + ":" + Seconds +
"/" +
Today.getMonth()
> + "-" + Today.getDate() + "-" + ThisYear.toString() +
")"
>
> }
>
> // end of script -->
> </script>
> </head>
>
> <body>
>
> <noscript>
> <p><strong>Better get a JavaScript-capable browser</strong> (or
switch
> JavaScript support on, in case you already have one).</p>
> </noscript>
>
>
> <form name="Quoter">
>
> <h3>In-text</h3>
>
> <textarea cols="80" rows="10"
name="TextIn"></textarea>
>
> <p>Poster's name: <input type="text" width="20"
name="YourNameHere"></p>
>
> <p><input type="checkbox" name="HTMLout"
onclick="Quoter.TextOut.value > QuoteIt(TextIn.value, YourNameHere.value,
HTMLout.checked)"> Output as
> HTML</p>
>
> <p><input type="button" name="QuoteNow" value="Make
it so..."
> onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
> HTMLout.checked)"></p>
>
> <h3>Out-text</h3>
>
> <textarea cols="80" rows="10"
name="TextOut"></textarea><br>
>
> </form>
>
>
> </body>
> </html>
>
>
> </pre>
>
>
>
>
Message no. 14
From: shadowrn@*********.com (Jamz)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 01:50:01 2001
Great little HTML there, I like! :)

> Excellent Gurth!! Wow! That's really keen! (That's right, I said
KEEN!)
> One tiny problem however ... well, check it our for yourself. Here's
the
> results of my first (purely sample, I assure you) use of it:
>
> >>>>>[Yo chummers! I just did a mega-run on Renraku, and broke out
with
over
> 1-mil¥!! I kid you not!]<<<<<
> -Loco (13:29:51/5-10-3901)

>>>>>[I was getting the same thing with IE 5.01.

You're getting 1900+2001 instead of the anticipated 1900+101. I don't have
my JS book with me but I believe the following should work with all
browsers...

Just replace the following line: ThisYear = 1900 + Today.getYear() // Y2K
correction, else we get year 101

With: ThisYear = Today.getFullYear()

Of course you could also use ThisYear = "2061" if you like ;)
]<<<<<
-Jamz (00:54:33/5-11-2001)
Message no. 15
From: shadowrn@*********.com (Wally the Intrepid)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 02:40:01 2001
----- Original Message -----
From: "Jamz" <JamzTheMan@****.com>
Sent: Monday, June 11, 2001 1:55 AM
Subject: Re: For Wally: time/date stamp generator

> You're getting 1900+2001 instead of the anticipated 1900+101. I don't have
> my JS book with me but I believe the following should work with all
> browsers...
>
> Just replace the following line: ThisYear = 1900 + Today.getYear() // Y2K
> correction, else we get year 101
>
> With: ThisYear = Today.getFullYear()

This results in year 2001.

> Of course you could also use ThisYear = "2061" if you like ;)
]<<<<<
> -Jamz (00:54:33/5-11-2001)

OK, tell me exactly what to type to get the 2061, cause I tried putting
it in and it doesn't work. Thanks.

--
Wally -- http://members.nbci.com/stormknight1/home.html
Please Message me on ICQ: #163454
Message no. 16
From: shadowrn@*********.com (Jamz)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 02:50:01 2001
> ----- Original Message -----
> From: "Jamz" <JamzTheMan@****.com>
> Sent: Monday, June 11, 2001 1:55 AM
> Subject: Re: For Wally: time/date stamp generator
>
> > You're getting 1900+2001 instead of the anticipated 1900+101. I don't
have
> > my JS book with me but I believe the following should work with all
> > browsers...
> >
> > Just replace the following line: ThisYear = 1900 + Today.getYear() //
Y2K
> > correction, else we get year 101
> >
> > With: ThisYear = Today.getFullYear()
>
> This results in year 2001.
>
> > Of course you could also use ThisYear = "2061" if you like ;)
]<<<<<
> > -Jamz (00:54:33/5-11-2001)
>
> OK, tell me exactly what to type to get the 2061, cause I tried
putting
> it in and it doesn't work. Thanks.
>

Are you using IE? You should replace the following line:

ThisYear = Today.getFullYear() // Y2K correction, else we get year 101
instead of 2001...

with this line:

ThisYear = "2061"

-Jamz

PS: IE Hint #2
you can replace the following line:

<p><input type="button" name="QuoteNow" value="Make it
so..."
onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
HTMLout.checked)"></p>

with:

<p><input type="button" name="QuoteNow" value="Make it
so..."
onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
HTMLout.checked); TextOut.select()"></p>

And it will autoselect the text after pasting ;)
Message no. 17
From: shadowrn@*********.com (Gurth)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 06:45:01 2001
According to DemonPenta@***.com, on Sun, 10 Jun 2001 the word on the
street was...

> It came out as HTML in AOL 6, Gurth

Not entirely unexpected, that...

--
Gurth@******.nl - http://www.xs4all.nl/~gurth/index.html
Conformity is our tragedy
-> NAGEE Editor * ShadowRN GridSec * Triangle Virtuoso <-
-> The Plastic Warriors Page: http://plastic.dumpshock.com <-

GC3.12: GAT/! d-(dpu) s:- !a>? C+@ UL P L++ E W-(++) N o? K w+(--) O V?
PS+ PE(-)(+) Y PGP- t@ 5++ X(+) R+++(-)>$ tv+ b++@ DI- D+ G+ e h! !r y?
Incubated into the First Church of the Sqooshy Ball, 21-05-1998
Message no. 18
From: shadowrn@*********.com (Gurth)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 06:45:03 2001
According to Wally the Intrepid, on Sun, 10 Jun 2001 the word on the
street was...

> One tiny problem however ... well, check it our for yourself. Here's the
> results of my first (purely sample, I assure you) use of it:
>
> >>>>>[Yo chummers! I just did a mega-run on Renraku, and broke out
with over
> 1-mil¥!! I kid you not!]<<<<<
> -Loco (13:29:51/5-10-3901)
>
> OK, if you're not seeing the problem, check out the year. heeheehee This
> is postings for the Sixth World, not the ...*Counting on fingers. Counting
> on toes. Grabbing up the cat. OW! Guessing...* Eighth World!...(ninth?)
> =)

Yep, that's not right... What web browser did you use to generate that
time/date stamp? It gives the current year as 2001, whereas both the
browsers I tested said this year is 101, so I corrected it by adding 1900
to it. I'll fix it and repost the file, hopefully this time round in a way
that will let everyone see it :)

> Also, everyone, this message is supposed to be in plain text, and yet I
> see the email addresses, above & below, in color. So, AM I in plain text?

It looks like that to me. It could be that your mailer always colors e-mail
addresses, even when you want to see plain text; my mailer does, too
(except in replies).

> Thanks so much Gurth! I stand in awe of your computatorial capabilities!
> (Does he do kewlage like this often, people?)

I sometimes start thinking about things and can't get them out of my head
until I do something with them. Your request was one of those times :)

--
Gurth@******.nl - http://www.xs4all.nl/~gurth/index.html
Conformity is our tragedy
-> NAGEE Editor * ShadowRN GridSec * Triangle Virtuoso <-
-> The Plastic Warriors Page: http://plastic.dumpshock.com <-

GC3.12: GAT/! d-(dpu) s:- !a>? C+@ UL P L++ E W-(++) N o? K w+(--) O V?
PS+ PE(-)(+) Y PGP- t@ 5++ X(+) R+++(-)>$ tv+ b++@ DI- D+ G+ e h! !r y?
Incubated into the First Church of the Sqooshy Ball, 21-05-1998
Message no. 19
From: shadowrn@*********.com (Gurth)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 06:45:14 2001
According to Jamz, on Mon, 11 Jun 2001 the word on the street was...

> >>>>>[I was getting the same thing with IE 5.01.
>
> You're getting 1900+2001 instead of the anticipated 1900+101. I don't have
> my JS book with me but I believe the following should work with all
> browsers...

You have a book? Cool. I learned all I know about JS (which is to say, only
a little bit more than I needed to write this sig generator :) by
experimentation and browsing Netscape's JS reference when I get stuck.

Anyway, both my old Netscape and Opera say it's year 101 while IE 5.x seems
to say it's 2001. This leads to a complete correction being necessary,
which I'm going to do by checking whether ThisYear is < 1900 or not.
I'll post it in another message, together with some streamlining which I
only noticed could be done after I'd sent out the original.

> Just replace the following line: ThisYear = 1900 + Today.getYear() // Y2K
> correction, else we get year 101
>
> With: ThisYear = Today.getFullYear()

As I mentioned above, this got me a time/date stamp in the order of
(00:54:33/5-11-101).

> Of course you could also use ThisYear = "2061" if you like ;)
]<<<<<
> -Jamz (00:54:33/5-11-2001)

I'll add an option for using the current SR year as well.

--
Gurth@******.nl - http://www.xs4all.nl/~gurth/index.html
Conformity is our tragedy
-> NAGEE Editor * ShadowRN GridSec * Triangle Virtuoso <-
-> The Plastic Warriors Page: http://plastic.dumpshock.com <-

GC3.12: GAT/! d-(dpu) s:- !a>? C+@ UL P L++ E W-(++) N o? K w+(--) O V?
PS+ PE(-)(+) Y PGP- t@ 5++ X(+) R+++(-)>$ tv+ b++@ DI- D+ G+ e h! !r y?
Incubated into the First Church of the Sqooshy Ball, 21-05-1998
Message no. 20
From: shadowrn@*********.com (Gurth)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 06:45:17 2001
Here's a revised version of the SR sig generator, which incorporates a
correction for the year so that IE 5 shouldn't say it's 3901, and it also
has a way to get the date style from the European SR books (London
Sourcebook, etc.) and an optional correction to make it 206x.

Instead of the <pre></pre> tags to try and make the file visible to
too-smart HTML mailers, I now opted to remove the html start and end tags,
in the hopes that these mailers won't say it's HTML when they don't see the
start tag (it's probably wishful thinking, but the best I could come up
with...). Remove the !-- in the start tag and the -- in the end tag before
opening the file in a web browser.


<!--html>
<head>
<title>Shadowquoter</title>
<script language="JavaScript">
<!-- // Hide script from old browsers

/*
By Gurth, with thanks to Jamz.
*/

function QuoteIt (InText, Poster, SRdate, EuroDate, AsHTML) {

if (AsHTML)
var OutText = "&gt;&gt;&gt;&gt;&gt;[" +
InText + "]&lt;&lt;&lt;&lt;&lt;\n&mdash;" + Poster +
" " + TimeDateStamp(SRdate, EuroDate)
else
var OutText = ">>>>>[" + InText +
"]<<<<<\n-" + Poster + " " + TimeDateStamp(SRdate,
EuroDate)

return OutText
}

function TimeDateStamp (SRdate, EuroDate) {

var Today = new Date()
var ThisYear = Today.getYear()
if (ThisYear < 1900) ThisYear += 1900 // Y2K correction may be needed
if (SRdate) ThisYear += 61

var Hours = Today.getHours().toString()
if (Hours.length == 1) Hours = "0" + Hours
var Minutes = Today.getMinutes().toString()
if (Minutes.length == 1) Minutes = "0" + Minutes
var Seconds = Today.getSeconds().toString()
if (Seconds.length == 1) Seconds = "0" + Seconds

if (EuroDate) {
var MonthNames = new Array("JAN", "FEB",
"MAR", "APR", "MAY", "JUN", "JUL",
"AUG", "SEP", "OCT", "NOV", "DEC")
var ThisMonth = MonthNames[Today.getMonth() - 1]

var TimeDate = "(" + Hours + ":" + Minutes +
":" + Seconds + "/" + Today.getDate().toString() + "-" +
ThisMonth + "-" + ThisYear.toString() + ")"
}
else
var TimeDate = "(" + Hours + ":" + Minutes +
":" + Seconds + "/" + Today.getMonth().toString() + "-" +
Today.getDate().toString() + "-" + ThisYear.toString() + ")"

return TimeDate

}

// end of script -->
</script>
</head>

<body>

<noscript>
<p><strong>Better get a JavaScript-capable browser</strong> (or switch
JavaScript support on, in case you already have one).</p>
</noscript>


<form name="Quoter">

<h3>In-text</h3>

<textarea cols="80" rows="10"
name="TextIn"></textarea>

<p>Poster's name: <input type="text" width="20"
name="YourNameHere"></p>

<p><input type="checkbox" name="ShadowrunYear"
onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
ShadowrunYear.checked, European.checked, HTMLout.checked); TextOut.select();
TextOut.focus()"> Use current <i>Shadowrun</i> year (current
year&nbsp;+&nbsp;61)</p>

<p><input type="checkbox" name="European"
onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
ShadowrunYear.checked, European.checked, HTMLout.checked); TextOut.select();
TextOut.focus()"> Use European date format</p>

<p><input type="checkbox" name="HTMLout"
onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
ShadowrunYear.checked, European.checked, HTMLout.checked); TextOut.select();
TextOut.focus()"> Output as HTML</p>

<p><input type="button" name="QuoteNow"
value="Make it so..." onclick="Quoter.TextOut.value =
QuoteIt(TextIn.value, YourNameHere.value, ShadowrunYear.checked, European.checked,
HTMLout.checked); TextOut.select(); TextOut.focus()"></p>

<h3>Out-text</h3>

<textarea cols="80" rows="10"
name="TextOut"></textarea><br>

</form>


</body>
</html-->


--
Gurth@******.nl - http://www.xs4all.nl/~gurth/index.html
Conformity is our tragedy
-> NAGEE Editor * ShadowRN GridSec * Triangle Virtuoso <-
-> The Plastic Warriors Page: http://plastic.dumpshock.com <-

GC3.12: GAT/! d-(dpu) s:- !a>? C+@ UL P L++ E W-(++) N o? K w+(--) O V?
PS+ PE(-)(+) Y PGP- t@ 5++ X(+) R+++(-)>$ tv+ b++@ DI- D+ G+ e h! !r y?
Incubated into the First Church of the Sqooshy Ball, 21-05-1998
Message no. 21
From: shadowrn@*********.com (Wally the Intrepid)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 16:05:00 2001
----- Original Message -----
From: "Jamz" <JamzTheMan@****.com>
To: <shadowrn@*********.com>
Sent: Monday, June 11, 2001 2:53 AM
Subject: Re: For Wally: time/date stamp generator> >
>
> Are you using IE? You should replace the following line:

> ThisYear = Today.getFullYear() // Y2K correction, else we get year 101
> instead of 2001...
>
> with this line:
>
> ThisYear = "2061"

Thanks, it worked.

> -Jamz
>
> PS: IE Hint #2
> you can replace the following line:
>
> <p><input type="button" name="QuoteNow" value="Make
it so..."
> onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
> HTMLout.checked)"></p>
>
> with:
>
> <p><input type="button" name="QuoteNow" value="Make
it so..."
> onclick="Quoter.TextOut.value = QuoteIt(TextIn.value, YourNameHere.value,
> HTMLout.checked); TextOut.select()"></p>
>
> And it will autoselect the text after pasting ;)

OK, this I don't understand. What do you mean by that last line there?

--
Wally -- http://members.nbci.com/stormknight1/home.html
Please Message me on ICQ: #163454
Message no. 22
From: shadowrn@*********.com (Wally the Intrepid)
Subject: For Wally: time/date stamp generator
Date: Mon Jun 11 16:20:04 2001
----- Original Message -----
From: "Wally the Intrepid" <stormknight@*********.net>
To: <shadowrn@*********.com>
Sent: Monday, June 11, 2001 2:07 PM
Subject: Re: For Wally: time/date stamp generator

> > <p><input type="button" name="QuoteNow"
value="Make it so..."
> > onclick="Quoter.TextOut.value = QuoteIt(TextIn.value,
YourNameHere.value,
> > HTMLout.checked); TextOut.select()"></p>
> >
> > And it will autoselect the text after pasting ;)
>
> OK, this I don't understand. What do you mean by that last line there?

>>>>>[*sigh* Nevermind, I just tried and it see what you mean. The text
appears in the output window alrady highlighted so you just have to Copy or
Cut. Excellent! I was just wondering if that could be done. Thanks!]<<<<<
-Wally (14:22:39/5-11-2061)

--
Guess who! -- http://members.nbci.com/stormknight1/home.html
Please Message me on ICQ: #163454
Message no. 23
From: shadowrn@*********.com (Gurth)
Subject: For Wally: time/date stamp generator
Date: Tue Jun 12 05:35:16 2001
According to Wally the Intrepid, on Mon, 11 Jun 2001 the word on the street was...

> > And it will autoselect the text after pasting ;)
>
> OK, this I don't understand. What do you mean by that last line there?

What he meant is that you could replace the HTML code for the button by
something slightly different, and then it would have the same effect as
when you place the cursor in the Out-text box and press Ctrl+A -- that is,
it would select all the text so all you need to do is press Ctrl+C to copy
it to the Windows clipboard.

I incorporated this into the second version of the program I posted
yesterday night.

--
Gurth@******.nl - http://www.xs4all.nl/~gurth/index.html
Conformity is our tragedy
-> NAGEE Editor * ShadowRN GridSec * Triangle Virtuoso <-
-> The Plastic Warriors Page: http://plastic.dumpshock.com <-

GC3.12: GAT/! d-(dpu) s:- !a>? C+@ UL P L++ E W-(++) N o? K w+(--) O V?
PS+ PE(-)(+) Y PGP- t@ 5++ X(+) R+++(-)>$ tv+ b++@ DI- D+ G+ e h! !r y?
Incubated into the First Church of the Sqooshy Ball, 21-05-1998

Further Reading

If you enjoyed reading about For Wally: time/date stamp generator, you may also be interested in:

Disclaimer

These messages were posted a long time ago on a mailing list far, far away. The copyright to their contents probably lies with the original authors of the individual messages, but since they were published in an electronic forum that anyone could subscribe to, and the logs were available to subscribers and most likely non-subscribers as well, it's felt that re-publishing them here is a kind of public service.