What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] Replacing Text Using Scripts (I think I'm dumb lol)

[Help] Replacing Text Using Scripts (I think I'm dumb lol)
Author: Message:
Joereynolds89
Junior Member
**


Posts: 69
Joined: Jul 2006
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol)
Can somebody tell me how to modify this to repeat how ever many times the first letter appears, and also how to make it so it dosnt use the replacment if it detects www or http etc!
Im only using capitals as an example, in fact they are different symbols

Joe


code:
function OnEvent_Initialize(MessengerStart)
{
}
function OnEvent_ChatWndSendMessage(pChatWnd, sMessage)
{
sMessage = sMessage.replace("a","A");
sMessage = sMessage.replace("b","B");
sMessage = sMessage.replace("c","C");
sMessage = sMessage.replace("d","D");
sMessage = sMessage.replace("e","E");
sMessage = sMessage.replace("f","F");
sMessage = sMessage.replace("g","G");
sMessage = sMessage.replace("h","H");
sMessage = sMessage.replace("i","I");
sMessage = sMessage.replace("j","J");
sMessage = sMessage.replace("k","K");
sMessage = sMessage.replace("l","L");
sMessage = sMessage.replace("m","M");
sMessage = sMessage.replace("n","N");
sMessage = sMessage.replace("o","O");
sMessage = sMessage.replace("p","P");
sMessage = sMessage.replace("q","Q");
sMessage = sMessage.replace("r","R");
sMessage = sMessage.replace("s","S");
sMessage = sMessage.replace("t","T");
sMessage = sMessage.replace("u","U");
sMessage = sMessage.replace("v","V");
sMessage = sMessage.replace("w","W");
sMessage = sMessage.replace("x","X");
sMessage = sMessage.replace("y","Y");
sMessage = sMessage.replace("z","Z");
return sMessage;
}
function OnEvent_Uninitialize(MessengerExit)
{
}

07-12-2006 01:05 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Keikonium on 07-11-2006 at 10:51 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by noroom on 07-11-2006 at 10:53 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-11-2006 at 11:11 PM
RE: RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by jmccarroll on 07-11-2006 at 11:17 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Keikonium on 07-11-2006 at 11:16 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-11-2006 at 11:17 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Keikonium on 07-11-2006 at 11:33 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-11-2006 at 11:37 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Nathan on 07-11-2006 at 11:41 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Silentdragon on 07-11-2006 at 11:46 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-11-2006 at 11:57 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by aNILEator on 07-12-2006 at 07:26 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by aNILEator on 07-12-2006 at 07:29 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-12-2006 at 01:05 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by noroom on 07-12-2006 at 01:31 PM
RE: RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-12-2006 at 01:37 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Keikonium on 07-12-2006 at 01:47 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Pai on 07-12-2006 at 01:55 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-12-2006 at 02:25 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Pai on 07-12-2006 at 05:48 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by aNILEator on 07-12-2006 at 06:22 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Silentdragon on 07-12-2006 at 07:25 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-12-2006 at 07:51 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by segosa on 07-12-2006 at 09:35 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Pai on 07-13-2006 at 12:43 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by segosa on 07-13-2006 at 08:54 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-13-2006 at 09:57 AM
RE: RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by segosa on 07-13-2006 at 10:04 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