What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » emoticones in nickname

emoticones in nickname
Author: Message:
ruN.
New Member
*


Posts: 1
Joined: Aug 2006
RE: emoticones in nickname
Hi all

i wanted the same thing too,

i have a PMS script tht does it and all my friends are seeing this logo too, some of them dnt have messenger plus and some of them have the old msn messenger.

[Image: unbenanntol8.png]



Script:
code:
var INIFILE = MsgPlus.ScriptFilesPath + "\\conf.ini";
var icono = "Music";
/*
By  . f e l i p E
http://mypropiocielo.space.msn.com
greetings from Los Mochis, Mexico
=========================
thanks..
kocoae .. http://kocoae.spaces.msn.com
English pack Translated by aNILEator
*/

function OnGetScriptMenu(nLocation){
var LANG =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,"langs","lang","English");
var ScriptMenu = "<ScriptMenu>";
    ScriptMenu    +=     "<MenuEntry Id=\"MnuAuthor1\">&#46;&#32;&#102;&#32;&#101;&#32;&#108;&#32;&#105;&#32;&#112;&#32;&#69;</MenuEntry>";
    ScriptMenu    +=     "<MenuEntry Id=\"MnuAuthor2\">&#107;&#32;&#111;&#32;&#99;&#32;&#111;&#32;&#97;&#32;&#101;</MenuEntry>";
    ScriptMenu    +=     "<Separator/>";
        var x =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,LANG,"mnuxPSM","Set xPSM");
    ScriptMenu    +=     "<MenuEntry Id=\"MnuXPSM\">" + x + "</MenuEntry>";
    ScriptMenu    +=     "<Separator/>";
        var x =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,LANG,"mnuAbout","About xPSM...");
    ScriptMenu    +=     "<MenuEntry Id=\"MnuCreditos\">" + x + "</MenuEntry>";
    ScriptMenu    +=     "<Separator/>";
        var x =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,LANG,"mnuLang","Language");
    ScriptMenu +="    <SubMenu     Label='" + x + "'>";
        var x =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,"langs","1","Unknow");
   


var xx="Unknow";   
var lng=1;   
do {

xx =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,"langs", lng,"Unknow");
if ( xx == "Unknow" ) break;
    ScriptMenu += "        <MenuEntry Id='LNG-"+xx+"'>"+xx+"</MenuEntry>";
lng++;

} while ( x != "Unknow" );

    ScriptMenu +="    </SubMenu>";
    ScriptMenu    += "</ScriptMenu>";

    return ScriptMenu;
}

function OnEvent_MenuClicked(sMenuId,nLocation,iOriginWnd){
var LANG =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,"langs","lang","English");
switch (sMenuId)
{
     case "MnuAuthor1" :
      if (nLocation ==2 )
    {    var x =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,LANG,"author1","http://mypropiocielo.spaces.msn.com    [xPSM v1.1]");    iOriginWnd.SendMessage(x); }
      else
    Abrir('http://mypropiocielo.spaces.msn.com');
       
     break;

     case "MnuAuthor2":
      if (nLocation ==2 )
    {    var x =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,LANG,"author2","http://kocoae.spaces.msn.com    [xPSM v1.1 ]");           iOriginWnd.SendMessage(x);        }
      else   
    Abrir('http://kocoae.spaces.msn.com');

     break;

     case "MnuCreditos":   
var LANG =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,"langs","lang","English");     
var wnd = MsgPlus.CreateWnd(LANG+'.xml','Creditos');
     break;

     case "MnuXPSM":

  if ( MsgPlus.RemoveFormatCodes(Messenger.MyCurrentMedia)  == "" )
    {
    var MSG1 =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,LANG,"msg1","For xPSM to work please enable the 'What I am listening to' feature");
    MsgPlus.DisplayToast('',MSG1,'notify.mp3');
    }
    var LANG =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,"langs","lang","English");
    var wnd = MsgPlus.CreateWnd(LANG+'.xml','WndxPSM');
    wnd.Button_SetCheckState("Music","True");

    default:
    if (sMenuId.substring(0,4) == "LNG-")  var SAVE = new ActiveXObject("felipe.ini").GuardarIni(INIFILE,"langs","lang",sMenuId.substring(4));
/*
    {   
    var WSHShell = new ActiveXObject("WScript.Shell");
    var intDoIt;
    intDoIt =  WSHShell.Popup("Cambiar el idioma a\n"+  sMenuId.substring(4), 0, "Confirmación   ---  xPSM", 65 );

    if ( intDoIt == 1) var SAVE = new ActiveXObject("felipe.ini").GuardarIni(INIFILE,"langs","lang",sMenuId.substring(4));

    }

*/

    break;         
}

}

function OnCreditosEvent_CtrlClicked(Wnd, ControlId){
switch (ControlId)
{
     case "BtnClose" :
     Animar(Wnd);
     Wnd.Close(1);
     break;

     case "kocoae" :          Abrir('http://kocoae.spaces.msn.com');     break;
     case "luisfernando" : Abrir('http://drugged8.spaces.msn.com');     break;
     case "davinxi" :    Abrir("http://davinxi.spaces.msn.com");     break;
     case "aNILEator" : Abrir('http://fukafly.zerogen.co.uk/site/'); break;
}

}

function OnWndxPSMEvent_CtrlClicked(Wnd, ControlId)
{
switch (ControlId)
{
case "Aceptar":
          new ActiveXObject('felipe.sarabia').SetMusicInfo('', '', '', icono, '', Wnd.GetControlText('valor'));
          Animar(Wnd);
    break;
case "Music": icono = "Music"; break;
case "Games": icono = "Games"; break;
case "Office": icono = "Office"; break;
}
}

function Animar(pPlusWnd){
    Interop.Call("User32", "AnimateWindow", pPlusWnd.Handle, 180, "0x10000" | "0x80000");
    FreeDll("User32.dll");
}

function Abrir(URL){
new ActiveXObject('WScript.Shell').Run(URL);
}

function parseCommands(sMessage,iOriginWnd){
    if (sMessage.charAt(0) == '/'){
        if(sMessage.charAt(1) == '/'){
            return sMessage;
        } else {
            var firstSpace = sMessage.search(' ');
            if(firstSpace == -1){
                var command = sMessage.toLowerCase().substr(1);
                var params = '';
            } else {
                var command = sMessage.toLowerCase().substr(1, firstSpace-1);
                var params = sMessage.toLowerCase().substr(firstSpace+1);
            }
            if(params != "") { Debug.Trace("The command \"" + command + "\" with the parameters \"" + params + "\" has been parsed."); }
            else { Debug.Trace("The command \"" + command + "\" has been parsed."); }
            switch(command) {
                case 'xpsm':
            var LANG =  new ActiveXObject('felipe.ini').LeerIni(INIFILE,"langs","lang","English");
            var wnd = MsgPlus.CreateWnd(LANG+'.xml','WndxPSM');
            wnd.Button_SetCheckState("Music","True");
                    sMessage = "";
                    break;

                default:
            }
        return sMessage;
        }
    }
}
function OnEvent_ChatWndSendMessage(ChatWnd, sMessage) {
    if(sMessage.charAt(0) == "/"){
        return parseCommands(sMessage,ChatWnd);
    }
    else{
        return sMessage;
    }
}
function OnGetScriptCommands(){
    var commands = '<ScriptCommands>';
        commands+='<Command>';
            commands+='<Name>xpsm</Name>';
            commands+='<Description>Cambiar PSM</Description>';
            commands+='<Parameters>New Message;Music</Parameters>';
        commands+='</Command>';
    commands+='</ScriptCommands>';
    return commands;


thx for help
08-18-2006 11:12 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
emoticones in nickname - by hustl3r on 06-30-2006 at 12:03 AM
RE: emoticones in nickname - by Voldemort on 06-30-2006 at 12:05 AM
RE: emoticones in nickname - by hustl3r on 06-30-2006 at 12:25 AM
RE: emoticones in nickname - by Chris4 on 06-30-2006 at 12:30 AM
RE: emoticones in nickname - by hustl3r on 06-30-2006 at 01:45 AM
RE: emoticones in nickname - by upsfeup on 06-30-2006 at 02:01 AM
RE: emoticones in nickname - by deAd on 06-30-2006 at 02:04 AM
RE: emoticones in nickname - by NiteMare on 06-30-2006 at 02:21 AM
RE: emoticones in nickname - by ruN. on 08-18-2006 at 11:12 PM
RE: RE: emoticones in nickname - by Matti on 08-19-2006 at 10:09 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