Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Timers - having them trigger sound files

Timers - having them trigger sound files

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Atomicoctobot   (19 posts)  Bio
Date Thu 09 Aug 2007 08:02 PM (UTC)
Message
Hi,

I haven't been able to work out how, if possible, to cause timers to trigger sounds without sending anything to the mud I'm connected to. The rules of my mud state that nothing can be set up so that commands are sent through triggers and such so I need the timer to work completely internally.

Is there any way to do this?

Thanks.
Top

Posted by Shaun Biggs   USA  (644 posts)  Bio
Date Reply #1 on Thu 09 Aug 2007 08:07 PM (UTC)
Message
Just send to script and have it play a file through the Sound function. For example, with Lua, you would have: Sound("soundfile.wav") in the send box.

It is much easier to fight for one's ideals than to live up to them.
Top

Posted by Atomicoctobot   (19 posts)  Bio
Date Reply #2 on Thu 09 Aug 2007 08:15 PM (UTC)
Message
Could you possibly walk me through it? I'm entirely confused.
Top

Posted by Shaun Biggs   USA  (644 posts)  Bio
Date Reply #3 on Thu 09 Aug 2007 08:37 PM (UTC)
Message
umm... I pretty much just did walk you through it... open up the timer with ctrl-shft-0 then set the timer to whatever interval you need. Then put Sound("soundfilename.wav") in the send field. Next, look just below that for the "send to" drop box, and set that to "script". You should be set at that point.

It is much easier to fight for one's ideals than to live up to them.
Top

Posted by Atomicoctobot   (19 posts)  Bio
Date Reply #4 on Thu 09 Aug 2007 08:52 PM (UTC)

Amended on Fri 10 Aug 2007 03:15 AM (UTC) by Atomicoctobot

Message
Beautiful! Thank you
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


17,063 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.