Playing sounds while in the background

Posted by Faedara on Mon 02 Aug 2010 03:03 AM — 6 posts, 25,420 views.

#0
Is there any way for MUSHclient to play sounds when it's not the active window? If not, are there plans to change this sometime in the near future, or add an option for it?

I myself want it because I like the background music I add to the MUD, but because I constantly switch windows the music is broken up, but it would be useful to people who keep MUSHclient in the background for other reasons and would like to hear what's going on in the background (Such as a ping when they get attacked, or recieve a new tell)
Australia Forum Administrator #1
The ordinary Sound function should work if MUSHclient does not have the focus. Added new configuration option for version 4.56, which lets you set the PlaySound function (which uses DirectSound) to keep playing in the background.

This does not have a GUI configuration option, but run this script line to activate/deactivate it:


SetOption ("play_sounds_in_background", 1) -- activate it
SetOption ("play_sounds_in_background", 0) -- deactivate it
#2
Sounds good, thanks Nick
#3
I cut my own post short, meant to say:
Sounds good, thanks Nick. Can't wait until it comes out =^-^=
Germany #4
Thanks Nick, that'll be making its way into the next version of my plugin!
#5
KaVir, don't stalk me X3