Playing sound

General discussion about the Genesis Web Client located at https://www.genesismud.org/play/

Moderator: Eowul

Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
Post Reply
Aristos
Veteran
Posts: 239
Joined: 26 May 2013 18:54

Playing sound

Post by Aristos » 13 May 2014 10:23

Hi,

I was wondering if there was the possibility to play a sound on trigger. For example, at work, I play a bit more absentmindedly, sometimes idling 2-3 mins when someone talks to me, or the phone rings, switching back and forth over windows, etc (actually working, etc). But, in case I get attacked or someone contacts me (post, messenger, etc) i would like to play a sound to draw attention to the tiny, not minimized, window at the edge of the monitor.

Would this be possible?


EDIT 1: added more info.
EDIT 2: Well, I haven't figured out how to play a sound yet, but I'm using alert() instead and it fills its purpose :-)


Post Reply
http://tworzymyatmosfere.pl/przescieradla-jedwabne-z-gumka/