What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] C/C++ Keywords Script

[Request] C/C++ Keywords Script
Author: Message:
Paril
Junior Member
**

Avatar
Admin of Paril's Projects

Posts: 69
31 / Male / Flag
Joined: Jul 2006
O.P. RE: [Request] C/C++ Keywords Script
Sorry for double post, but

That one you put there, doesn't work.

How do I use it?

just like:

function OnEvent_ChatWndSendMessage(pChatWnd, sMessage)
{
    if (sMessage == "if")
    sMessage.replace(/if/gi,"[c=2]if[/c]");
    return sMessage;
}


or what?


I want it to change every "if" that is in the text, not just the first one. Even just

function OnEvent_ChatWndSendMessage(pChatWnd, sMessage)
{
    sMessage.replace(/if/gi,"[c=2]if[/c]");
    return sMessage;
}

doesn't work.
Any ideas?
07-06-2006 01:31 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] C/C++ Keywords Script - by Paril on 07-06-2006 at 01:17 AM
RE: [Request] C/C++ Keywords Script - by Silentdragon on 07-06-2006 at 01:26 AM
RE: [Request] C/C++ Keywords Script - by Paril on 07-06-2006 at 01:29 AM
RE: [Request] C/C++ Keywords Script - by ShawnZ on 07-06-2006 at 01:29 AM
RE: [Request] C/C++ Keywords Script - by Paril on 07-06-2006 at 01:31 AM
RE: [Request] C/C++ Keywords Script - by Silentdragon on 07-06-2006 at 01:42 AM
RE: [Request] C/C++ Keywords Script - by ShawnZ on 07-06-2006 at 01:45 AM
RE: [Request] C/C++ Keywords Script - by Paril on 07-06-2006 at 01:48 AM
RE: [Request] C/C++ Keywords Script - by ShawnZ on 07-06-2006 at 01:53 AM
RE: [Request] C/C++ Keywords Script - by Paril on 07-06-2006 at 01:59 AM
RE: [Request] C/C++ Keywords Script - by Silentdragon on 07-06-2006 at 02:26 AM
RE: [Request] C/C++ Keywords Script - by Paril on 07-06-2006 at 02:35 AM
RE: [Request] C/C++ Keywords Script - by matty on 07-06-2006 at 04:57 AM
RE: [Request] C/C++ Keywords Script - by Paril on 07-06-2006 at 05:00 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