Author Topic: Mudlet - Taskbar notification setting?  (Read 661 times)

Gunnerblaster

  • Posts: 6602
Mudlet - Taskbar notification setting?
« 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?
Quote from: LauraMars
Quote from: brytta.leofa
Laura, did weird tribal men follow you around at age 15?
If by weird tribal men you mean Christians then yes.

Quote from: Malifaxis
She was teabagging me.

My own mother.

Kialae

  • Publicity Coordinator
  • Posts: 207
Re: Mudlet - Taskbar notification setting?
« Reply #1 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.

Code: [Select]
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)