Trigger Sound Bug

Posted by Marc Dver on Sun 09 Jun 2002 07:54 PM — 5 posts, 18,067 views.

#0
I am trying to get this trigger to work: *(*) pages: * . This is supposed to emit a sound when the word pages comes up under those circumstances. However, the trigger is being set off even when the word "pages" isn't displayed. I cannot find any pattern to this.
Australia Forum Administrator #1
Is the trigger a regular expression?

I would make the trigger colour the line (eg. custom colour 1). Then you can confirm if it is really firing. Relying on a sound could be unreliable, as it would be hard to hear exactly which line the sound relates to.

If you have multiple triggers playing sounds, make them colour the lines in different ways. Maybe you have another trigger that matches that line without realising it.
Canada #2
I have a similar trigger:

<triggers>

  <trigger
   enabled="y"
   match="* tells you: *"
   sequence="100"
   sound="E:\Archive\Audio\Wave\EFFECTS Pop.wav"
  >
  </trigger>
</triggers>

I think you could do what nick is suggesting, and try to just change the colour of the line at first, until you have it debugged. Once you have the trigger working to change the colour of the line, you could edit the trigger to play a sound.

(I understand the importance of playing a sound in this case, because you may want to be notified while you have the screen minimized or in the background).

With the latest version of MUSHclient, you can copy & paste triggers or aliases. Go to your triggers screen and highlight this trigger you are having problems with, then click the "copy" button, which will copy the trigger to Windows clipboard. You can then come to the forums here and paste the trigger here, so we can see exactly what you have done.

Also, copy and paste an example line of someone paging you.
Amended on Mon 10 Jun 2002 12:51 AM by Magnum
#3
Ok, I have it set to change the color when the text is displayed. That part works. However, I still hear the sound when the text is not displayed. The text then isn't being highlighted. There is only one trigger.
Australia Forum Administrator #4
If it isn't highlighting the text, which it normally does with the word "pages" there, then something else is playing the sound. Try changing the sound to a different sound file, just to prove it.

You might be receiving a "bell" from the MUD, and the bell sound might be the same. You might have "play sound on new activity" and that sound is the same.

If you make all those sounds different you will be able to find the culprit.