RE: Replace letters
Message = Message.replace(/A/g,'4');
Message = Message.replace(/B/g,'8');
Message = Message.replace(/E/g,'3');
Message = Message.replace(/L/g,'1');
Message = Message.replace(/O/g,'0');
Message = Message.replace(/S/g,'5');
Message = Message.replace(/T/g,'7');
Message = Message.replace(/a/g,'4');
Message = Message.replace(/b/g,'8');
Message = Message.replace(/e/g,'3');
Message = Message.replace(/l/g,'1');
Message = Message.replace(/o/g,'0');
Message = Message.replace(/s/g,'5');
Message = Message.replace(/t/g,'7');
change that to:
Message = Message.replace(/A/gi,'4');
Message = Message.replace(/B/gi,'8');
Message = Message.replace(/E/gi,'3');
Message = Message.replace(/L/gi,'1');
Message = Message.replace(/O/gi,'0');
Message = Message.replace(/S/gi,'5');
Message = Message.replace(/T/gi,'7');
as described in second and third post of this thread.
PS: don't forget that Plus! has already a build in replacer; you don't need scripts for something like this (although in this case it is a bit more convenient and can be turned on/off more easly):
Plus! > Preferences > Conversations > Quick Texts > Add > Automatically replace text in messages I send.
This post was edited on 08-19-2006 at 01:16 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|