Shoutbox

[Request] Sounds during games - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request] Sounds during games (/showthread.php?tid=61582)

[Request] Sounds during games by Dark_Angel_Pt on 06-26-2006 at 02:17 PM

Can anyone create a script that makes a sound when someone talks to me that i can hear when i'm playing games? Most games make it impossible to hear sounds except when it was a msgplus 3 alert sound.
I was wondering if someone is willing to make a scritp that uses those alerts so that i know someone is talking to me even if i'm playing a game.


RE: [Request] Sounds during games by DRaGoM on 06-26-2006 at 02:21 PM

It should be easy... I'll try to make it.. but i have no time until July 4th


RE: [Request] Sounds during games by Dark_Angel_Pt on 06-26-2006 at 02:25 PM

ok thanks :) Take your time, i don't have time to play games now because i have to study :(


RE: [Request] Sounds during games by Voldemort on 06-26-2006 at 02:31 PM

Well, check this option, and you can change the sound to whatever you like, and see if it helps....


RE: RE: [Request] Sounds during games by Dark_Angel_Pt on 06-26-2006 at 02:36 PM

quote:
Originally posted by Voldemort
Well, check this option, and you can change the sound to whatever you like, and see if it helps....


But that just changes the sound. When playing a game no messenger sounds are played. It's not a matter if it's a loud sound or not. But in msgplus 3 whenever a contact became online and i had an alert for it i would hear the alert and in some games even see the toast.
I wanted someone to make a script that makes all sound slike that so i can be playing a game but still hear messenger sounds.
RE: [Request] Sounds during games by alexp2_ad on 06-26-2006 at 02:56 PM

code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind, sNewMessage){
    MsgPlus.PlaySound("\\C:\\Program Files\\MSN Messenger\\type.wma");
}


That would play the messenger sound for a new message with plus, everytime you got a message...
RE: [Request] Sounds during games by Dark_Angel_Pt on 06-26-2006 at 03:19 PM

How can i make it work? I don't know nothing about scripts :(


RE: [Request] Sounds during games by luisillo on 06-26-2006 at 03:53 PM

Hi Dark_Angel_Pt:

copy this to the notepad:

quote:
Originally posted by alexp2_ad
code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind, sNewMessage){
    MsgPlus.PlaySound("\\C:\\Program Files\\MSN Messenger\\type.wma");
}



then go to WLM/Plus!/Preferences/General/Scripts/create new
select all, delete, and paste te code above, that should work.
RE: [Request] Sounds during games by Lou on 06-26-2006 at 03:55 PM

quote:
Originally posted by luisillo
Hi Dark_Angel_Pt:

copy this to the notepad:
quote:
Originally posted by alexp2_ad
code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind, sNewMessage){
    MsgPlus.PlaySound("\\C:\\Program Files\\MSN Messenger\\type.wma");
}



then go to WLM/Plus!/Preferences/General/Scripts/create new
select all, delete, and paste te code above, that should work.
Easier method: Go to the Plus! preferences, the first tab at the top, the script tab at the left. Click Create new. Name it whatever you want. Then when the popup with some code comes up, remove the code there, and paste the code above.
RE: [Request] Sounds during games by luisillo on 06-26-2006 at 04:00 PM

quote:
Originally posted by .Lou
quote:
Originally posted by luisillo


then go to WLM/Plus!/Preferences/General/Scripts/create new
select all, delete, and paste te code above, that should work.
Easier method: Go to the Plus! preferences, the first tab at the top, the script tab at the left. Click Create new. Name it whatever you want. Then when the popup with some code comes up, remove the code there, and paste the code above.

:S sorry, but I can't see the difference

RE: [Request] Sounds during games by Lou on 06-26-2006 at 04:08 PM

quote:
Originally posted by luisillo
quote:
Originally posted by .Lou
quote:
Originally posted by luisillo


then go to WLM/Plus!/Preferences/General/Scripts/create new
select all, delete, and paste te code above, that should work.
Easier method: Go to the Plus! preferences, the first tab at the top, the script tab at the left. Click Create new. Name it whatever you want. Then when the popup with some code comes up, remove the code there, and paste the code above.

:S sorry, but I can't see the difference
Instead of creating the folder and files manually, you do it all inside Plus!
RE: [Request] Sounds during games by luisillo on 06-26-2006 at 04:19 PM

quote:
Originally posted by .Lou
quote:
Originally posted by luisillo
quote:
Originally posted by .Lou
quote:
Originally posted by luisillo


then go to WLM/Plus!/Preferences/General/Scripts/create new
select all, delete, and paste te code above, that should work.
Easier method: Go to the Plus! preferences, the first tab at the top, the script tab at the left. Click Create new. Name it whatever you want. Then when the popup with some code comes up, remove the code there, and paste the code above.

:S sorry, but I can't see the difference
Instead of creating the folder and files manually, you do it all inside Plus!

I never meant to create anything manually, "WLM/Plus!/Preferences/General/Scripts/create new" stands for the route of menus and buttons you have to press to get there, nothing else :P (as I've seen worldwide)
RE: [Request] Sounds during games by Dark_Angel_Pt on 06-26-2006 at 04:49 PM

Thank you guys. I'll see if it works fine. One more thing... this is for when someone chats with me but what do i have to add to have the same effect but when people sign in?
Thank you for all the help :)


RE: [Request] Sounds during games by whatever- on 06-26-2006 at 05:27 PM

I tryied but I couln't put it to play....
I was hoping to make it play a little sound on every message received, much like some other clients....But I hear nothing.....tryed diferent sounds, diferent status.... Nothing.... I don't know....

oh, I'm using a single slash in the name, like the Scripting documentation said:

quote:
SoundFile
[string] Path to the sound file to play. The path is relative to the script's directory by default, to override this behavior, prefix the path with "\". Example: "\C:\directory\sound.mp3". If this string is empty, the current sound playing is stopped and the function returns.

so this is my code

code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind, sNewMessage){
    MsgPlus.PlaySound("\C:\Programas\MSN Messenger\nudge.wma");
}


I also tryed a WAVE file.... it's the same....

RE: [Request] Sounds during games by Dark_Angel_Pt on 06-26-2006 at 05:30 PM

Try using 2 \ like they told me to do:

function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind, sNewMessage){
    MsgPlus.PlaySound("\\C:\\Program Files\\MSN Messenger\\type.wma");


well it doesn't work for me either.
Can anybody help? Why no sounds are played? Are we doing anything wrong?
RE: [Request] Sounds during games by cloudhunter on 06-28-2006 at 12:20 AM

Well there is an option about busy in full screen in messenger, and when your status is busy then you don't hear any sounds. If you turn that option off you may be able to hear the sounds again :)

Cloudy


RE: RE: [Request] Sounds during games by Dark_Angel_Pt on 06-28-2006 at 12:23 AM

quote:
Originally posted by cloudhunter
Well there is an option about busy in full screen in messenger, and when your status is busy then you don't hear any sounds. If you turn that option off you may be able to hear the sounds again :)

Cloudy


Yes there is but i always have that turned off. That's why i would like to make the script work so that i can play but still hear messenger sounds when someone is talking to me.
The sign in and open conversation sounds are  in the plus options and work well.