What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » If statements and editing a script

If statements and editing a script
Author: Message:
vanillaflavoured
New Member
*


Posts: 8
34 / Male / Flag
Joined: Sep 2008
O.P. If statements and editing a script
Okay so I'm making some changes to a script (for personal reasons) which changes the first letter of a string to uppercase and adds a full stop to the end of the string.

This was all very well and if the string always had to end in a full stop but if I type something like "help!" the result would be "Help!." so I managed to get the script to, by default, add a full stop unless I added one myself or some other form of punctuation.

However my problem is I only want it to uppercase if there is actually a character a-z or A-Z as the first character as when I type Japanese characters it messes the first character up and if I try to send Messenger Plus commands like /busy or /all it creates problems with that too.

Soo yeah...any suggestions?

I've tried switches/case selects and if statements.

:@ If I were able to code in VB/VBA then I'd be fine. Damn Javascript.

So yeah...answers on a postcard?
09-22-2008 09:43 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
If statements and editing a script - by vanillaflavoured on 09-22-2008 at 09:43 PM
RE: If statements and editing a script - by Jesus on 09-23-2008 at 01:58 AM
RE: If statements and editing a script - by Burningmace on 09-23-2008 at 11:47 PM
RE: If statements and editing a script - by roflmao456 on 09-24-2008 at 12:13 AM
RE: If statements and editing a script - by Burningmace on 09-24-2008 at 12:46 AM
RE: RE: If statements and editing a script - by vanillaflavoured on 09-24-2008 at 12:20 PM
RE: If statements and editing a script - by roflmao456 on 09-24-2008 at 07:55 PM
RE: If statements and editing a script - by vanillaflavoured on 09-25-2008 at 10:41 AM
RE: If statements and editing a script - by Jesus on 09-25-2008 at 10:53 AM
RE: If statements and editing a script - by vanillaflavoured on 09-25-2008 at 11:22 AM


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