What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » error code -2146823281

error code -2146823281
Author: Message:
sljaxon
Junior Member
**

Avatar
I want more, I want Messenger Plus.

Posts: 50
– / Male / –
Joined: Nov 2006
O.P. Huh?  error code -2146823281
i am making a pm rotator script
i get an odd error code when my scripts first timer hits 1 minute

debug:

Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Function called: OnEvent_Timer
Error: Object expected.
       Line: 15. Code: -2146823281.
Function OnEvent_Timer returned an error. Code: -2147352567

code:

function OnEvent_Initialize(MessengerStart)
{
    MsgPlus.DisplayToast("PM-Rotate","PM-Rotate engaged.");
    Messenger.MyPersonalMessage="Hey!";
    MsgPlus.AddTimer("dorotatea",60000);
}

function OnEvent_Uninitialize(MessengerExit)
{
    MsgPlus.DisplayToast("PM-Rotate","PM-Rotate successfully disengaged.");
}

function OnEvent_Timer(TimerId)
{
    PlaySound("change.mp3");
    if(TimerId = "dorotatea")
    {
    Messenger.MyPersonalMessage="Yo!"
    MsgPlus.AddTimer("dorotateb",60000);
    }
    if(TimerId = "dorotateb")
    {
        Messenger.MyPersonalMessage=":D";
        MsgPlus.AddTimer("dorotatec",60000);
    }
    if(TimerId = "dorotatec")
    {
        Messenger.MyPersonalMessage="Are you there?";
        MsgPlus.AddTimer("dorotated",60000);
    }
    if(TimerId = "dorotated")
    {
        Messenger.MyPersonalMessage="I'm here!";
        MsgPlus.AddTimer("dorotatea",60000)
    }
}
Sam
One hoopy frood :D

[Image: theextraordinarymedleypyx9.png]
11-18-2006 07:57 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
error code -2146823281 - by sljaxon on 11-18-2006 at 07:57 PM
RE: error code -2146823281 - by Mnjul on 11-18-2006 at 09:05 PM
RE: error code -2146823281 - by sljaxon on 11-19-2006 at 01:58 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