What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help] i need help with my script

[help] i need help with my script
Author: Message:
huddo121
New Member
*


Posts: 5
32 / Male / –
Joined: Jun 2006
O.P. Huh?  [help] i need help with my script
hi. i am having trouble with my script. it is a simple script that toasts you  when a contact starts listening to music or it changes.

here is the source
[/code]function OnEvent_ContactMediaChange()
{
    var Notice = Email + "is now listening to" + NewMedia;
    Notice = MsgPlus.RemoveFormatCodes(Notice);
    MsgPlus.DisplayToast(Notice);
}
[/code]

here is the debugging information
[/code]Script has been stopped
Script is starting
Script is now loaded and ready
Function called: OnEvent_ContactMediaChange
Error: 'Email' is undefined.
       Line: 3. Code: -2146823279.
Function OnEvent_ContactMediaChange returned an error. Code: -2147352567 [/code]***this is when he played his first song***[/code]
Function called: OnEvent_ContactMediaChange
Error: 'Email' is undefined.
       Line: 3. Code: -2146823279.
Function OnEvent_ContactMediaChange returned an error. Code: -2147352567[/code] ***we then changed the song to see if the concept was correct, it was.***
[/code]

This post was edited on 06-27-2006 at 04:09 AM by huddo121.
06-27-2006 04:06 AM
Profile E-Mail PM Web Find Quote Report
devils elbow
New Member
*


Posts: 2
Joined: Mar 2005
RE: [help] i need help with my script
Hmm, try:

code:
function OnEvent_ContactMediaChange(sEmail, sNewMedia)
{
    var sNotice = sEmail + "is now listening to" + sNewMedia;
    sNotice = MsgPlus.RemoveFormatCodes(sNotice);
    MsgPlus.DisplayToast("", sNotice);
}

06-27-2006 04:47 AM
Profile E-Mail PM Find Quote Report
huddo121
New Member
*


Posts: 5
32 / Male / –
Joined: Jun 2006
O.P. RE: [help] i need help with my script
i didnt do that but thanks any way devils elbow.

neway. i fixed it and it is now working. the download link is: http://huddo121.googlepages.com/SongReaderv0-1.plsc

screenie [Image: attachment.php?aid=5]

This post was edited on 06-27-2006 at 06:43 AM by huddo121.
06-27-2006 05:03 AM
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