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
➜ VBscript
➜ STOP a sound from playing?
|
STOP a sound from playing?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Newborizor
(6 posts) Bio
|
| Date
| Fri 11 Feb 2005 10:28 PM (UTC) |
| Message
|
Here is what i have for MSP.
<triggers>
<trigger
enabled="y"
match="!!SOUND(* * U=http://assault.game-host.org/MSP/*)*"
name="sound"
omit_from_output="n"
regexp="n"
script="OnSound"
sequence="100"
>
</trigger>
sub OnSound (strName, strLine, Wildcards)
'c:\mushclient\msp\
dim thesound
thesound = Wildcards (3)
world.sound ("c:\mushclient\msp\") & thesound
world.note wildcards (4)
end sub
It works fine but some of the files are long .mid's (which is why i had to modify the script, that and it triggers on slightly different string) and the mud sends output !!MUSIC(off) which is supposed to be the trigger to stop the music...
Is there a way I can stop the music?
If not i can always just modify the .mid to be shorter but i really dont want too because its supposed to start playing on certain events and keep playing untill other events happen, which can be a variable amount of time.
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 19 Feb 2005 02:37 AM (UTC) |
| Message
| |
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.
12,169 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top