What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » develop plugin/script in vb6

develop plugin/script in vb6
Author: Message:
Compact3
New Member
*

VB/MSN freak

Posts: 13
33 / Male / –
Joined: Jun 2006
O.P. RE: RE: develop plugin/script in vb6
quote:
Originally posted by Matty
code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind){
    pChatWnd.SendMessage('i sent this message through my script');
}

Just an example, however every time someone sends a message (including you, it will send that message).


Now I have this, but it doesn't work:

code:
function OnEvent_Initialize(MessengerStart)
{
LoadPlugin_VB('BotjePlus.plusin')
}

function OnEvent_Uninitialize(MessengerExit)
{
PluginObj = null;
}

function LoadPlugin_VB(ProgId)
{
    var PluginObj = new ActiveXObject(ProgId);
    if(PluginObj)
    {
        if(PluginObj.Initialize(8, "", undefined) == true)
        Debug.Trace("The VB plugin has been initialized");
    }
}

function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind)
{
    if (nMessageKind==1)
    {
        var strText = pluginobj.GetReaction(sMessage);
        pChatWnd.SendMessage(strText);
    }
}

What am I doing wrong?
06-26-2006 02:10 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
develop plugin/script in vb6 - by Compact3 on 06-25-2006 at 12:58 PM
RE: develop plugin/script in vb6 - by absorbation on 06-25-2006 at 01:03 PM
RE: develop plugin/script in vb6 - by Compact3 on 06-25-2006 at 01:06 PM
RE: develop plugin/script in vb6 - by absorbation on 06-25-2006 at 01:08 PM
RE: develop plugin/script in vb6 - by matty on 06-25-2006 at 02:15 PM
RE: RE: develop plugin/script in vb6 - by Compact3 on 06-25-2006 at 02:17 PM
RE: develop plugin/script in vb6 - by Shadow-x on 06-25-2006 at 03:58 PM
RE: develop plugin/script in vb6 - by CookieRevised on 06-25-2006 at 04:09 PM
RE: develop plugin/script in vb6 - by Compact3 on 06-26-2006 at 11:40 AM
RE: develop plugin/script in vb6 - by matty on 06-26-2006 at 11:53 AM
RE: RE: develop plugin/script in vb6 - by Compact3 on 06-26-2006 at 02:10 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