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
➜ Times and sounds
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Hobson
USA (6 posts) Bio
|
Date
| Sat 22 Mar 2003 04:01 PM (UTC) |
Message
| Quick question how do i make a sound go off after a certain amount of time is up i cant seem to figure that out | Top |
|
Posted by
| Hobson
USA (6 posts) Bio
|
Date
| Reply #1 on Sat 22 Mar 2003 04:45 PM (UTC) |
Message
| ok maybe i didnt word this right ok after 11minutes i want a certain sound to be played.. but theres nowhere to put sounds in timers | Top |
|
Posted by
| Magnum
Canada (580 posts) Bio
|
Date
| Reply #2 on Sat 22 Mar 2003 05:02 PM (UTC) |
Message
| Hmm, I am surprised Nick doesn't have this ability built in. I'm sure he'll take it as a suggestion to implement in a future version.
In the meantime, you will have to call a script from your timer, to play the sound for you.
Use this MUSHclient function:
http://www.mushclient.com/scripts/function.php?name=Sound |
Get my plugins here: http://www.magnumsworld.com/muds/
Constantly proving I don't know what I am doing...
Magnum. | Top |
|
Posted by
| Hobson
USA (6 posts) Bio
|
Date
| Reply #3 on Sat 22 Mar 2003 06:49 PM (UTC) |
Message
| hmmm i guess ill have to wait for future version cause i dont understand script at all | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #4 on Sat 22 Mar 2003 10:00 PM (UTC) |
Message
| The script in this case is pretty darn simple. Make the timer call it by putting its name (eg. TimerSound) into the "script" field of the timer. The script goes into your script file. You could append to the exampscript.vbs file that comes with MUSHclient.
sub TimerSound (timername)
world.Sound "c:\my_sounds_directory\mysound.wav"
end sub
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
18,185 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top