Armageddon General Discussion Board

General => Code Discussion => Topic started by: Gunnerblaster on January 11, 2014, 03:51:51 PM

Title: Mudlet - Taskbar notification setting?
Post by: Gunnerblaster on January 11, 2014, 03:51:51 PM
Does anyone, who uses Mudlet, know if it's possible to set an activity trigger or something?

For example; if I'm tabbed over to another window - Is there a way to have the taskbar icon for Mudlet flash if it receives new incoming lines?
Title: Re: Mudlet - Taskbar notification setting?
Post by: Kialae on February 08, 2018, 06:13:19 PM
Hey Gunner,

Old post but I went looking myself and found your post. From what I can see, the alert(n) function does this. I'm yet to test though.

alert
alert(seconds)
alerts the user to something happening - makes Mudlet flash in the Windows window bar, bounce in the macOS dock, or flash on Linux.
Note Note: Available in Mudlet 3.2+

Parameters
seconds:
(optional) number of seconds to have the alert for. If not provided, Mudlet will flash until the user opens Mudlet again.
Example
-- flash indefinitely until Mudlet is open
alert()

-- flash for just 3 seconds
alert(3)