What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [need help] login play music

[need help] login play music
Author: Message:
turvas
New Member
*

Avatar

Posts: 4
31 / Male / –
Joined: Jan 2007
O.P. [need help] login play music
i have a script that is supposed to play a music fle when i login, but it won't work. Help, please. 8-|

code:

function OnEvent_Initialize(MessengerStart)
{
}

function OnEvent_Signin
{
[boolean] PlaySound(
    ["\C:\Documents and Settings\Karl\My Documents\My Music\Herald - Hevilihas.mp3"] Soundfile
    ["2500"] MaxPlaytime
    );
}

function OnEvent_Uninitialize(MessengerExit)
{
}


01-17-2007 07:52 PM
Profile E-Mail PM Find Quote Report
FineWolf
Full Member
***

Avatar
Space Artist

Posts: 188
Reputation: 12
– / Male / Flag
Joined: Sep 2003
RE: [need help] login play music
Try

code:
function OnEvent_Signin(Email)
{
MsgPlus.PlaySound("C:\\Documents and Settings\\Karl\\My Documents\\My Music\\Herald - Hevilihas.mp3", 2500);
}

This post was edited on 01-17-2007 at 07:57 PM by FineWolf.
[Image: spacesigkj4.png]
01-17-2007 07:53 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [need help] login play music
code:
function OnEvent_SigninReady(sEmail){
    MsgPlus.PlaySound('\\C:\\Documents and Settings\\Karl\\My Documents\\My Music\\Herald - Hevilihas.mp3', 2500);
}
01-17-2007 07:54 PM
Profile E-Mail PM Find Quote Report
turvas
New Member
*

Avatar

Posts: 4
31 / Male / –
Joined: Jan 2007
O.P. RE: [need help] login play music
it still isn't working...
i keep on trieing but more help would be appreciated.
01-18-2007 02:57 PM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: [need help] login play music
code:
function OnEvent_SigninReady(sEmail){
    MsgPlus.PlaySound('\C:\\Documents and Settings\\Karl\\My Documents\\My Music\\Herald - Hevilihas.mp3', 2500);
}

i think that should do it ;)
01-18-2007 03:02 PM
Profile PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
29 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [need help] login play music
quote:
Originally posted by NanaFreak
code:
function OnEvent_SigninReady(sEmail){
    MsgPlus.PlaySound('\C:\\Documents and Settings\\Karl\\My Documents\\My Music\\Herald - Hevilihas.mp3', 2500);
}

i think that should do it [Image: msn_wink.gif]
Nope... Matty's code is right and should work. MsgPlus.PlaySound having a limitation of stoping any existing sounds when played might be causing it.
01-18-2007 04:09 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