What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help with a text output script

Help with a text output script
Author: Message:
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
RE: Help with a text output script
quote:
Originally posted by AngelDevil
Use "brain " (with the space at the end), and the code doesn't recognize "brains" as "brain" + "s"...
That's not exactly the wisest thing to do, there are many times when you're going to have the word at the end of a sentence (with a period following) or at the end of the message (with nothing following) and it won't be picked up through this method.

A better alternative is to split the message up into words using .split(" ") and then stripping trailing and preceding punctuation and translating the resultant word (or leaving it the same if there's no translation).

This post was edited on 06-28-2007 at 03:49 AM by Volv.
06-28-2007 03:49 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help with a text output script - by Stapleman on 06-27-2007 at 08:26 PM
RE: Help with a text output script - by AngelDevil on 06-27-2007 at 08:30 PM
RE: Help with a text output script - by Stapleman on 06-27-2007 at 08:39 PM
RE: Help with a text output script - by matty on 06-27-2007 at 08:56 PM
RE: Help with a text output script - by Ezra on 06-27-2007 at 09:04 PM
RE: Help with a text output script - by Volv on 06-28-2007 at 03:49 AM
RE: Help with a text output script - by Matti on 06-28-2007 at 07:59 AM
RE: Help with a text output script - by markee on 06-28-2007 at 09:43 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