Register forum user name Search FAQ

Gammon Forum

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 ➜ Bug reports ➜ Trigger Sound Bug

Trigger Sound Bug

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Marc Dver   (5 posts)  Bio
Date Sun 09 Jun 2002 07:54 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 09 Jun 2002 10:47 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #2 on Mon 10 Jun 2002 12:49 AM (UTC)

Amended on Mon 10 Jun 2002 12:51 AM (UTC) by Magnum

Message
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.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Marc Dver   (5 posts)  Bio
Date Reply #3 on Tue 11 Jun 2002 02:55 AM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #4 on Tue 11 Jun 2002 05:13 AM (UTC)
Message
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.

- 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.


17,216 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.