Sounds killed when afk

Posted by Eloge on Mon 30 May 2011 09:11 AM — 5 posts, 21,441 views.

#0
Is it possible to enable to enable mush-clients sounds and keep them active when mush-client is in the background, when working for ex. in another window? I'd like to have sounds work as alarms when I'm afk. At the moment they simply vanish.

If so, how?


Thank you

++ Eloge
Australia Forum Administrator #1
What method are you using to play sounds (there are several)?

I use trigger sounds for example for that very purpose, to let me know if I should switch back to MUSHclient and look at what my friend is saying.
#2
Just some kind of simple stuff as I have been adviced like in:

<triggers>
<trigger
enabled="y"
group="HiLite"
match="(.*?)You may now quest again(.*?)$"
omit_from_log="y"
omit_from_output="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>ColourNote ("black", "yellow", " QuestTime === On ")
PlaySound (1, "d:/sound/guitar.wav", false, 0, 0)
</send>
</trigger>
</triggers>

They work quite nicely but not if I'm working in another window.

++ Eloge
Australia Forum Administrator #3
You can fix that. This post describes a "config option changer" plugin:

http://www.gammon.com.au/forum/?id=10483

That plugin now ships with MUSHclient so all you have to do is install it from the plugins directory (file name "Config_Option_Changer.xml").

Then type "config_options" to bring up the options dialog, like this:



Scroll down to find "Play sounds in background?".

Double-click it to change the option.

Click "Yes".

Click "OK".

Sounds should now play in the background.

Make sure you save the world file so the option "sticks" for next time.
Amended on Tue 31 May 2011 05:16 AM by Nick Gammon
#4
Nick Gammon said:
That plugin now ships with MUSHclient so all you have to do is install it from the plugins directory (file name "Config_Option_Changer.xml").

Scroll down to find "Play sounds in background?".
Double-click it to change the option.
Click "Yes".
Click "OK".
Sounds should now play in the background.
Make sure you save the world file so the option "sticks" for next time.


This gave:
Option 'Play sounds in background?' changed to: yes

Thanks a lot!!

I did not think it would be possible (as a windows-feature) but thought that asking a question does not hurt. And it did not hurt. Big thanks!