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.
notify if mud connection is idle?
Posted by Jimbob on Tue 03 Feb 2009 04:32 PM — 4 posts, 14,886 views.
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.
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.
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?
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.
Make sure in this case the trigger has a low sequence number (eg. 10, or 1) so it is evaluated first.