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
➜ General
➜ notify if mud connection is idle?
notify if mud connection is idle?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Jimbob
(4 posts) Bio
|
Date
| Tue 03 Feb 2009 04:32 PM (UTC) |
Message
| Is there a way for mushclient to notify me if a mud I'm playing appears to be idle? On this mud I should have some kind of text sent to my client every 3.5 minutes. I'd like mushclient to play me a sound if it doesn't see any text sent in that time. Another note a lot of the text that may be sent is gagged but I'd like this to keep track of gagged text as well. | Top |
|
Posted by
| Worstje
Netherlands (899 posts) Bio
|
Date
| Reply #1 on Tue 03 Feb 2009 05:36 PM (UTC) |
Message
| Yes, this is possible by scripting it.
Make a timer that fires every 3.5s and make it play your sound. Make a trigger on your text that uses world.ResetTimer() on said timer. If the text does not come in, it will start making the noise you want. | Top |
|
Posted by
| Jimbob
(4 posts) Bio
|
Date
| Reply #2 on Tue 03 Feb 2009 06:02 PM (UTC) |
Message
| That would work assuming I used a regular expression like ^.*$ for a trigger. I already have triggers set up though and my experience is that if more then one trigger matches only one of the triggers will fire. How can I allow multiple triggers to fire? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Tue 03 Feb 2009 06:52 PM (UTC) |
Message
| Click "keep evaluating" on any trigger to allow trigger evaluation to continue.
Make sure in this case the trigger has a low sequence number (eg. 10, or 1) so it is evaluated first. |
- 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.
11,123 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top