What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Looking for a simple script

Looking for a simple script
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Looking for a simple script
quote:
Originally posted by NanaFreak
the regex needs to be changed to this:
Javascript code:
/[\"](.+?)[\"]/gi

it was just placing it around the whole message

so the highlighted line would be:
Javascript code:
Message = Message.replace/[\"](.+?)[\"]/gi, "[c=4]\"$1\"[/c]");


well atleast i think it should work... i did it in PHP =p

Just for my benefit now... how do the square brackets help? I thought they were just for character sets
<Eljay> "Problems encountered: shit blew up" :zippy:
05-07-2009 09:38 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Looking for a simple script - by yergsbah on 05-06-2009 at 10:54 PM
RE: Looking for a simple script - by Spunky on 05-07-2009 at 06:14 AM
RE: Looking for a simple script - by NanaFreak on 05-07-2009 at 06:30 AM
RE: Looking for a simple script - by yergsbah on 05-07-2009 at 09:13 AM
RE: Looking for a simple script - by Spunky on 05-07-2009 at 09:38 AM
RE: Looking for a simple script - by NanaFreak on 05-07-2009 at 09:42 AM
RE: Looking for a simple script - by Spunky on 05-07-2009 at 10:09 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