Omitting from notification

Posted by Tesagk on Tue 14 Feb 2017 04:19 PM — 2 posts, 13,361 views.

#0
Is there a way to set up a trigger that will suppress the notification for certain lines? For example, channels can get spammy and I'd prefer that the number for the session would not turn red when the only lines fed to the session are channel lines. Is this possible?
Australia Forum Administrator #1
No, but I've just added a method of doing that.


https://github.com/nickgammon/mushclient/commit/6c977de

http://www.gammon.com.au/scripts/showrelnote.php?version=5.06&productid=0

You can make a trigger that matches the "spammy" lines and subtract one from the number of unseen lines (effectively undoing the effect of the new line arriving). eg.


SetUnseenLines (GetInfo (202) - 1)  -- Subtract one


You can get a pre-release version to test this idea out, see this:

http://www.gammon.com.au/forum/?id=13903

You will need to download the new MUSHclient.exe file and replace the one in your MUSHclient installation folder with it.