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

[Request] - Phrase Counter
Author: Message:
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. [Request] - Phrase Counter
i say 'lol way to much, i sort of type it in acknowledgement that ive understood something, is there a way to make a script that will count how many times ive said it? and only let me say it a certain amount of times?

thanks:) if anyone wants to make it feel very welcome to

[Image: lost7ru.gif]
07-18-2006 09:58 AM
Profile E-Mail PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
32 / Male / Flag
Joined: Dec 2004
RE: [Request] - Phrase Counter
I'm positive it can be made, as there is a script that counts every letter of the alphabet.
Twitter: @ChrisLozeau
07-18-2006 10:04 AM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: [Request] - Phrase Counter
hm, cool! would it be hard? nif it would be relatively simple i'll give it a go tonight!

[Image: lost7ru.gif]
07-18-2006 10:23 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: [Request] - Phrase Counter
I believe the string function is match(regex)? It returns an array of matches, with the entire string in the first element. So, use the regex \slol\s, and add the number of elements minus one to the counter.

If you don't mind waiting till tonight, I'll write it for you.
[Image: spartaafk.png]
07-18-2006 10:35 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
RE: [Request] - Phrase Counter
quote:
Originally posted by RaceProUK
I believe the string function is match(regex)? It returns an array of matches, with the entire string in the first element. So, use the regex \slol\s, and add the number of elements minus one to the counter.

If you don't mind waiting till tonight, I'll write it for you.

It only returns the matches not the entire string

EDIT: I'm not completely correct.

http://msdn.microsoft.com/library/...

This post was edited on 07-18-2006 at 10:42 AM by Ezra.
[Image: 1-0.png]
             
07-18-2006 10:40 AM
Profile PM Web Find Quote Report
« 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