What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [release] Letter Counter

Pages: (3): « First « 1 [ 2 ] 3 » Last »
[release] Letter Counter
Author: Message:
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
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.
[Image: 1-0.png]
             
07-15-2006 10:58 PM
Profile PM Web Find Quote Report
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%)
[Image: gybouserbar6hc.gif]
07-15-2006 11:20 PM
Profile PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
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 :P
Twitter: @ChrisLozeau
07-16-2006 02:38 AM
Profile PM Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
RE: [release] Letter Counter
it reset after restarting [Image: msn_sad.gif] (shuting down then starting up actually)
07-16-2006 11:43 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
O.P. RE: [release] Letter Counter
quote:
Originally posted by Supersonicdarky
it reset after restarting [Image: msn_sad.gif] (shuting down then starting up actually)

Was there any error notice in the debug window?
[Image: 1-0.png]
             
07-17-2006 08:34 AM
Profile PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
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.
[Image: 1-0.png]
             
07-18-2006 01:58 PM
Profile PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: [release] Letter Counter
Very good :D Glad it doesn't reset your letter count when you update.
Twitter: @ChrisLozeau
07-18-2006 02:07 PM
Profile PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
O.P. RE: [release] Letter Counter
quote:
Originally posted by Chris4
Very good :D Glad it doesn't reset your letter count when you update.

Yeah, I made sure it didn't have to reset :)
[Image: 1-0.png]
             
07-18-2006 02:08 PM
Profile PM Web Find Quote Report
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
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
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.
[Image: 1-0.png]
             
07-20-2006 08:38 AM
Profile PM Web Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On