What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] CrazyText Style Trouble

[?] CrazyText Style Trouble
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. [?] CrazyText Style Trouble
I'm working on CrazyText and in order for the styles to work, I created this segment of code for EACH style:
code:
    if(style===0){
            Message=Message.split(" ");
            for(s in Message){
                    if(isURL(Message[s])==false && isEmote(Message[s])==false){
                    Message[s] = Message[s].replace(/a/gi,"α");
                 ...
                 ...
                    }
            }
        Message=Message.join(" ");
        return Message;
}


That works fine for one style (the first), but the others get an error (on the line where the first replace takes place). I have noticed with the other styles that the font is actual changed inside the script editor...

[Image: 1.png] [Image: 2.png]

Is it possible that the style is causing an error running the script as all the "segments" are identical to that above except with different style numbers and replacement letters

EDIT: Added thread title :$

This post was edited on 01-05-2007 at 07:29 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
01-05-2007 07:26 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] CrazyText Style Trouble - by Spunky on 01-05-2007 at 07:26 PM
RE: [?] CrazyText Style Trouble - by Mnjul on 01-05-2007 at 07:52 PM
RE: [?] CrazyText Style Trouble - by Spunky on 01-05-2007 at 08:23 PM
RE: [?] CrazyText Style Trouble - by skyserpent on 01-05-2007 at 10:55 PM
RE: [?] CrazyText Style Trouble - by markee on 01-06-2007 at 04:01 AM
RE: [?] CrazyText Style Trouble - by Mnjul on 01-06-2007 at 08:16 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