How to play sound files from scripts?

Post Reply
FormerZmudUser
Posts: 13
Joined: Fri May 15, 2009 12:52 pm

How to play sound files from scripts?

Post by FormerZmudUser »

The Mudlet is awesome! Fastest client ever and more features than any other client I've ever tried.
I have more than 500 triggers running and I get no lag!!!!
I have two questions. First, most of my triggers are generated triggers that issue warnings when I get into problems. I need sound warning instead of visual warnings when I'm not in front of the screen. I know Mudlet can play sounds, but I don't find a function to play a sound file.
Second, how can I detect that Mudlet doesn't have focus or I'm away from keyboard?

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: How to play sound files from scripts?

Post by Heiko »

1. I'll add a Lua function for this.
2. This isn't currently possible, but this feature has been requested before and I'll put it on my todo list.

FormerZmudUser
Posts: 13
Joined: Fri May 15, 2009 12:52 pm

Re: How to play sound files from scripts?

Post by FormerZmudUser »

still no sound function :cry:

Post Reply