What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » im having troble with my script

im having troble with my script
Author: Message:
killa
New Member
*


Posts: 3
Joined: Aug 2007
O.P. im having troble with my script
im makeing an update to my script and im adding a command to logme out with a command but i keep getting this error
code:
Error: Object expected (code: -2146823281)
       File: brb.js. Line: 26.
Function OnEvent_ChatWndSendMessage returned an error. Code: -2147352567
what does it mean cause im new to this
here the code

code:
function notify(msg){
    msg = MsgPlus.RemoveFormatCodes(msg);
    MsgPlus.DisplayToast("brb", msg, "");
}




function OnEvent_ChatWndSendMessage(ChatWnd,Message){

    if(Message == "brb"){

           
       
       
        notify("locking msn.");
        MsgPlus.LockMessenger('True');
        return '';
}
    if(Message == '/logout'){

           
       
       
        SendMessage('/all');
        SendMessage('/close');

        notify('login out.');
        Signout();
       


    }
}
sorry iv fixed it now i had to add chatwnd to sendmessage and messenger to signout

This post was edited on 08-06-2007 at 05:44 PM by killa.
08-06-2007 05:23 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
im having troble with my script - by killa on 08-06-2007 at 05:23 PM
RE: im having troble with my script - by pollolibredegrasa on 08-06-2007 at 05:53 PM
RE: im having troble with my script - by killa on 08-07-2007 at 01:40 PM
RE: im having troble with my script - by Volv on 08-07-2007 at 01:55 PM
RE: im having troble with my script - by killa on 08-08-2007 at 10:00 AM
RE: im having troble with my script - by Volv on 08-08-2007 at 10:40 AM
RE: im having troble with my script - by LifelesS on 08-08-2007 at 10:51 AM
RE: im having troble with my script - by matty on 08-08-2007 at 12:47 PM
RE: im having troble with my script - by Volv on 08-08-2007 at 01:01 PM
RE: im having troble with my script - by Matti on 08-08-2007 at 03:19 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