Shoutbox

Delete Color in PM - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Delete Color in PM (/showthread.php?tid=89671)

Delete Color in PM by --_FrAn_-- on 03-14-2009 at 10:06 PM

I have a script but i need view the contac nickname without the color and format.

Ex.  --_FrAn_-- i want to see like normal --_FrAn_--

Thanks and sorry my english.


RE: Delete Color in PM by blessedguy on 03-14-2009 at 10:24 PM

[Image: here.jpg]
Just unchek that option and restart Messenger.


RE: Delete Color in PM by --_FrAn_-- on 03-14-2009 at 10:32 PM

No, it isn't that


function OnEvent_ChatWndCreated(ChatWnd){
    var contacto;
    chat=ChatWnd;
    contacto=ChatWnd.Contacts;
    if(contacto.Count == 1) {
            var e = new Enumerator(contatto);
            var Cnt = e.item();
            nombrecontacto = Cnt.Name.split();
            nomecontacto = nomecontacto[0];


The nickname  will appeer whit a phrase in de PM. Ineed remove de color format from de contact nickname


DONE!!!!  i use     MsgPlus.RemoveFormatCodes  thanks anyway