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
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: error code -2146823281
quote:
Originally posted by sljaxon
PlaySound("change.mp3");
Should be MsgPlus::PlaySound("change.mp3") ;)
11-18-2006 09:05 PM
Profile PM Web Find Quote Report
sljaxon
Junior Member
**

Avatar
I want more, I want Messenger Plus.

Posts: 50
– / Male / –
Joined: Nov 2006
O.P. RE: error code -2146823281
Thanks!

__________
Sam
Sam
One hoopy frood :D

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


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