AberNStein
Full Member
Posts: 132 Reputation: 2
Joined: Jul 2006
|
RE: [Request] Adding a sound for recieved message
code: function OnEvent_Initialize(MessengerStart)
{
}
function OnEvent_Uninitialize(MessengerExit)
{
}
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind)
{
if (Origin != Messenger.MyName)
{
var num = 0;
for (var i=0;i<18;i++)
{
num = 75 * i + 700;
Interop.Call( "kernel32.dll", "Beep", num, 35 );
}
}
}
This post was edited on 07-20-2006 at 10:18 PM by AberNStein.
|
|