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.