What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Capital letter & a dot

Pages: (5): « First [ 1 ] 2 3 4 5 » Last »
Capital letter & a dot
Author: Message:
Bmw1000c
Junior Member
**

Avatar
yay!

Posts: 45
44 / Male / –
Joined: May 2004
O.P. Capital letter & a dot
Hi :X
What about a script that makes your 1st letter a capital and after your last, a dot?
i think that this isn't very hard to do.

Someone?
I'm portuguese!
06-27-2006 03:48 PM
Profile E-Mail PM Find Quote Report
Lou
Veteran Member
*****

Avatar

Posts: 2475
Reputation: 43
– / Male / Flag
Joined: Aug 2004
RE: Capital letter & a dot
quote:
Originally posted by Bmw1000c
What about a script that makes your 1st letter a capital and after your last, a dot?
Where would you want this? Please elaborate.
[Image: msghelp.net.png]
The future holds bright things in it\\\'s path, but only time will tell what they are and where they come from.
Messenger Stuff Forums
06-27-2006 03:56 PM
Profile PM Web Find Quote Report
Twozzok
New Member
*


Posts: 4
– / Male / –
Joined: Jun 2006
RE: Capital letter & a dot
I think he means when you type a message?
06-27-2006 03:57 PM
Profile E-Mail PM Web Find Quote Report
qgroessl
Veteran Member
*****


Posts: 1615
Reputation: 22
33 / – / Flag
Joined: Jul 2005
Status: Away
RE: Capital letter & a dot
That way even though he wouldn't normally use good punctuation... he would with that....
06-27-2006 03:58 PM
Profile PM Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
RE: Capital letter & a dot
I made had made a StuffPlug talker for this ( StuffPlug Talker: UCase )
I might try to port this into a script.
It shouldn't be that hard...

Oh, by the way, my talker used to only capitalise the first letter.
Not the one after a dot...
YouTube closed-captions ripper (also allows you to download videos!)
06-27-2006 04:01 PM
Profile E-Mail PM Web Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
RE: Capital letter & a dot
Even when you do such a script, that doesn't mean punctuation will be good. Unless you never type any message longer than one sentence and never use commas :).
Finish the problem
Menthix.net | Contact Me
06-27-2006 04:05 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Capital letter & a dot
This should work :

code:
function OnEvent_ChatWndSendMessage(pChatWnd, sMessage){
     sMessage.replace(sMessage, sMessage.substr(0,1).toUpperCase() + sMessage.substr(1) + '.');
}

This post was edited on 06-27-2006 at 04:07 PM by matty.
06-27-2006 04:06 PM
Profile E-Mail PM Find Quote Report
Bmw1000c
Junior Member
**

Avatar
yay!

Posts: 45
44 / Male / –
Joined: May 2004
O.P. RE: Capital letter & a dot
Matty,
i've created a new script, and i've put that script in the box, but nothing happens

edit: @ teh debugger: Function called: OnEvent_ChatWndSendMessage

This post was edited on 06-27-2006 at 04:14 PM by Bmw1000c.
I'm portuguese!
06-27-2006 04:13 PM
Profile E-Mail PM Find Quote Report
upsfeup
Junior Member
**


Posts: 67
Joined: Feb 2005
RE: Capital letter & a dot
end with "return sMessage;"
06-27-2006 04:15 PM
Profile E-Mail PM Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: Capital letter & a dot
edit, the return works fine.

This post was edited on 06-27-2006 at 04:18 PM by hmaster.
[Image: sig.png]
06-27-2006 04:15 PM
Profile PM Web Find Quote Report
Pages: (5): « First [ 1 ] 2 3 4 5 » 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