[release] Letter Counter |
Author: |
Message: |
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
O.P. RE: [release] Letter Counter
quote: Originally posted by Jexel
hmmm interesting script...perhaps implement a word counter to make its use more practical? I think it was requested before in another thread.
Yeah I'm thinking about the most practical way to implement this. Probably won't start on it until atleast monday when i'm back at work.
Right now I think this is the best way:
code: function OnSendMessage(Message, Origin, Window)
{
if (words = Message.match(/(^|\s+)(.*?)($|\s+)/igm) != null)
{
totalwords += words.length();
}
}
Simple and effective
This post was edited on 07-15-2006 at 11:05 PM by Ezra.
|
|
07-15-2006 10:58 PM |
|
|
AberNStein
Full Member
Posts: 132 Reputation: 2
Joined: Jul 2006
|
RE: [release] Letter Counter
can we get a percentage maybe?
as in A = 157 (7.9%)
|
|
07-15-2006 11:20 PM |
|
|
Chris4
Elite Member
Posts: 4461 Reputation: 84
33 / /
Joined: Dec 2004
|
RE: [release] Letter Counter
code: A = 47 , B = 14 , C = 15 , D = 34 , E = 84
F = 14 , G = 19 , H = 25 , I = 56 , J = 4
K = 12 , L = 36 , M = 18 , N = 78 , O = 81
P = 26 , Q = 0 , R = 27 , S = 46 , T = 59
U = 38 , V = 2 , W = 30 , X = 12 , Y = 22
Z = 3
TOTALS:
802
I think Q is the most unused letter of the alphabet
|
|
07-16-2006 02:38 AM |
|
|
Supersonicdarky
Veteran Member
Posts: 2317 Reputation: 48
– / – /
Joined: Feb 2005
Status: Away
|
RE: [release] Letter Counter
it reset after restarting (shuting down then starting up actually)
|
|
07-16-2006 11:43 PM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
O.P. RE: [release] Letter Counter
quote: Originally posted by Supersonicdarky
it reset after restarting (shuting down then starting up actually)
Was there any error notice in the debug window?
|
|
07-17-2006 08:34 AM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
O.P. RE: [release] Letter Counter
*bump, Released version 1.03
Tell me what you think of it... Will also add it to the script db later.
|
|
07-18-2006 01:58 PM |
|
|
Chris4
Elite Member
Posts: 4461 Reputation: 84
33 / /
Joined: Dec 2004
|
RE: [release] Letter Counter
Very good Glad it doesn't reset your letter count when you update.
|
|
07-18-2006 02:07 PM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
O.P. RE: [release] Letter Counter
quote: Originally posted by Chris4
Very good Glad it doesn't reset your letter count when you update.
Yeah, I made sure it didn't have to reset
|
|
07-18-2006 02:08 PM |
|
|
kidwizz
New Member
Posts: 9
Joined: Jul 2006
|
RE: [release] Letter Counter
good idea. how come !lettercount dosent work? it just sends !lettercount to the contact
|
|
07-20-2006 08:01 AM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
O.P. RE: [release] Letter Counter
quote: Originally posted by kidwizz
good idea. how come !lettercount dosent work? it just sends !lettercount to the contact
That's because !lettercount requests the lettercount of your contact, but that contact also needs plus! and my script to be installed.
This post was edited on 07-20-2006 at 08:39 AM by Ezra.
|
|
07-20-2006 08:38 AM |
|
|
Pages: (3):
« First
«
1
[ 2 ]
3
»
Last »
|
|