I have no other trigger on the pattern - You have recovered balance. I checked my plugin files also for that pattern.
If I just use the sound functionality provided in the dialogue, which would always play the sound on the match, the correct sound is played whenever the trigger matches.
It looks correct. Can you double-check that you don't have any other Sound() calls in other triggers that might be matching the line instead of this trigger?
Amended on Sat 29 Jan 2011 08:12 PM (UTC) by Seriley
Message
I have a trigger that I would like to selectively produce a sound:
if StealthMode and not Fighting then
Sound("C:\Program Files (x86)\MUSHclient\sounds\claves.wav")
end
I've used the full path here, but I also tried just "claves.wav" and verified that path as the default to the sounds directory using GetInfo (74).
I get the default activity sound, not the 'claves' sound.
I get this also when I enter '/Sound ("claves.wave")' on the command line (/ is the default lua escape)
If I use the built-in sound mechanism provided in the trigger dialog, it works fine. I get the correct sound.
I've tried lowering the sequence number of the trigger as a workaround suggested on the forum in 2006 and it did not help. If the poster meant I should make the trigger fire after all triggers, then I'm not able to do that as I have many triggers already at seq = 10000.
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.