What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help please] replace function!

[help please] replace function!
Author: Message:
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. [help please] replace function!
hello people of the world :)

ive got this:
code:
            Message = Message.replace(/a/gi,"α");
            Message = Message.replace(/b/gi,"в");
            Message = Message.replace(/c/gi,"¢");
            Message = Message.replace(/d/gi,"∂");
            Message = Message.replace(/e/gi,"є");
            Message = Message.replace(/f/gi,"ƒ");
            Message = Message.replace(/h/gi,"н");
            Message = Message.replace(/i/gi,"ι");
            Message = Message.replace(/j/gi,"נ");
            Message = Message.replace(/k/gi,"к");
            Message = Message.replace(/l/gi,"ℓ");
            Message = Message.replace(/m/gi,"м");
            Message = Message.replace(/n/gi,"η");
            Message = Message.replace(/o/gi,"σ");
            Message = Message.replace(/p/gi,"ρ");
            Message = Message.replace(/r/gi,"я");
            Message = Message.replace(/t/gi,"т");
            Message = Message.replace(/u/gi,"υ");
            Message = Message.replace(/v/gi,"ν");
            Message = Message.replace(/w/gi,"ω");
            Message = Message.replace(/x/gi,"χ");
            Message = Message.replace(/y/gi,"у");
            return Message;

i want it so if a shortcut for an emoticon is sent then it doesnt replace it. it also needs to not replace it if the text that is sent is a shortcut to a custom emotion

This post was edited on 09-19-2006 at 05:44 PM by skyserpent.
09-19-2006 03:04 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help please] replace function! - by skyserpent on 09-19-2006 at 03:04 PM


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