What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How long is my word?

How long is my word?
Author: Message:
Ruwen
Junior Member
**


Posts: 18
Joined: Jul 2006
O.P. RE: How long is my word?
Hmm.. Ddunk what about this then:

// Original Personal Message Chat 1.1 by PlanePix & Suma

// Laat mensen uit je lijst chaten dmv !chat <bericht> te zeggen
// Ze zullen je bericht zien in jouw persoonlijk bericht

// Planepix & Suma, www.levenloos.net, www.sumabytes.com

// Moddet by Googus

function OnEvent_Initialize(MessengerStart)
{
    var currPM = Messenger.MyPersonalMessage;
    Debug.DebuggingWindowVisible = true;
}

function OnEvent_Uninitialize(MessengerExit)
{

    Messenger.MyPersonalMessage = CurrPM;
}


function OnGetScriptMenu(nLocation)
{
return "<ScriptMenu><MenuEntry Id=\"MnuAbout\">About</MenuEntry></ScriptMenu>";
}
function OnEvent_MenuClicked(sMenuId,nLocation,iOriginWnd){
    if(sMenuId == "MnuAbout"){
            MsgPlus.CreateWnd("about.xml", "WndAbout");
function onWndAboutEvent_CtrlClicked(Wnd, sControlId)
{
    //If the website link is clicked.
    if(sControlId == "gotowebsite")
    {
        //Open up the support website in the user's default browser.
        new ActiveXObject("wscript.shell").run("http://www.pixel-gfx.com");
    }
}
    }
}


function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind)
{
    var Blaat = 'Googus';
    var LangeText = Messenger.MyName;
if(LangeText.indexOf(Blaat) != -1){


    if(MessageKind == 1)
    {
            strcontact = MsgPlus.RemoveFormatCodes(Origin);
            arrcontact = strcontact.split(" ");
            var naam = arrcontact[0];

            var WSH = new ActiveXObject('WScript.Shell');
            var rPass = "!" + WSH.RegRead(MsgPlus.ScriptRegPath + "mpmpass") + " ";
            var length = rPass.lenght;
        if(message.substr(0,13) == '!mpm viewpass') {
            if(Message.substr(13) == "") {

            }else{
            ChatWnd.SendMessage("Pass order er ´" + rPass + "¨")
            }
        }
        if(Message.substr(0,length) == rPass) {
           
            if(Message.substr(length) == "") {

            }else{
                Messenger.MyPersonalMessage = "Citat fra " + MsgPlus.RemoveFormatCodes(naam) + ": " + Message.substr(length);
                ChatWnd.SendMessage("Okay " + MsgPlus.RemoveFormatCodes(naam) + ".. Googus Personlig Besked er nu blevet ændret!\n\nER DU SÅ TILFRES?\n\nVis du vil ranked som ven, og ha flere muligheder hos Googus Plus, skal du skrive !mpm yes.\nHvis du derimod er ranked og ønsker at blive fjernet igen. Skriv !mpm no");   
            }
        }
       
    }
   
}
}

Becouse it dont work :(
07-10-2006 07:00 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How long is my word? - by Ruwen on 07-09-2006 at 09:48 PM
RE: How long is my word? - by Silentdragon on 07-09-2006 at 09:48 PM
RE: How long is my word? - by foaly on 07-09-2006 at 09:50 PM
RE: How long is my word? - by Ruwen on 07-09-2006 at 09:56 PM
RE: How long is my word? - by foaly on 07-09-2006 at 09:57 PM
RE: How long is my word? - by Ruwen on 07-09-2006 at 09:58 PM
RE: How long is my word? - by cooldude_i06 on 07-09-2006 at 09:59 PM
RE: RE: How long is my word? - by foaly on 07-09-2006 at 10:04 PM
RE: How long is my word? - by matty on 07-09-2006 at 10:00 PM
RE: RE: How long is my word? - by cooldude_i06 on 07-09-2006 at 10:20 PM
RE: How long is my word? - by Ruwen on 07-09-2006 at 10:00 PM
RE: How long is my word? - by Ruwen on 07-09-2006 at 10:14 PM
RE: How long is my word? - by ddunk on 07-09-2006 at 10:19 PM
RE: How long is my word? - by Ruwen on 07-10-2006 at 07:00 AM
RE: How long is my word? - by -dt- on 07-10-2006 at 07:37 AM
RE: How long is my word? - by ddunk on 07-10-2006 at 07:40 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