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 ➜ Tips and tricks ➜ Help with a notify trigger?

Help with a notify trigger?

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


Posted by Meedle   (2 posts)  Bio
Date Tue 27 Sep 2011 01:25 AM (UTC)
Message
So, I was looking around here and through the tips yesterday, but I couldn't seem to find just a straight forward code for a trigger that makes a sound + highlights when someone fingers, looks, pages, and emotes you. I tried to make something of my own, but it didn't work, so I just deleted it.
Would it be possible to get a code for something like this? I'd learn it on my own, but I barely have enough time to get a decent night's sleep, yet alone pick up a new programming language (even if it is just little bits of it).

Thank you in advanced!
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 27 Sep 2011 01:51 AM (UTC)
Message
Rather than just saying "I tried something and it didn't work" it is better to post the "something" so we can see where your thought processes are going. Maybe it was 99% right. :)

Template:copying For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.


Before anyone could even begin to answer you need to post an example of what you see when someone fingers, pages, etc. you. Otherwise the whole thing is guesswork.

- Nick Gammon

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

Posted by Meedle   (2 posts)  Bio
Date Reply #2 on Tue 27 Sep 2011 02:04 AM (UTC)

Amended on Tue 27 Sep 2011 02:06 AM (UTC) by Meedle

Message
Sure thing!

What I have:


<triggers>
  <trigger
   back_colour="15"
   custom_colour="17"
   enabled="y"
   make_underline="y"
   match="^(.*?) pages\: (.*?)$"
   match_back_colour="y"
   match_text_colour="y"
   regexp="y"
   sequence="100"
   sound="C:\Program Files (x86)\MUSHclient\sounds\alert.wav"
   text_colour="9"
   other_text_colour="firebrick"
   other_back_colour="white"
  >
  </trigger>
</triggers>




As for what the actions look like in game:

Look:
Game> * looked at you.


Finger:
Game> * fingered you.


Page:
* pages: *


Emote:
From afar, *

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.


15,600 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.