Skip to content

Releases: demonnic/LusterniaChatTabs

OS Notification support

29 Jun 05:34
Compare
Choose a tag to compare

Adds the ability to set individual tabs to send OS level notifications. Supported by two new aliases, lct notify <tabName> and lct unnotify tabName which turn notifications on and off for a specific tab respectively.

image

Small bugfix for when ndb is not yet configured

09 Nov 00:08
Compare
Choose a tag to compare

if ndb is not configured and mm is not installed then it was hitting an edge case where the lookup was causing an error (trying to lookup conf in the nonexistent mm table). This just fixes that.

Gagging options

02 Oct 17:33
Compare
Choose a tag to compare

Adds gagging based either on the speaker, or on the contents of the line.
Changes default font to "Ubuntu Mono" because packaging Inconsolata with it was causing issues trying to remove and reinstall the package without restarting ALL of Mudlet.
That being said, you do need to restart your profile to pick up the code changes, I have not yet coded around lua's module caching for this package.

Why 2.0.0 from 1.5.0 ? I dunno, just seemed time.

New aliases to control it are:

  • lct gaglist
    • lists the mobs and lines being gagged in the chat tabs.
  • lct gagmob <Lua pattern>
    • add a Lua pattern to check speakers against. See this tutorial from lua-users.org for more information. If the speaker matches the pattern, anything they say or emote on any channel will be gagged from the tabbed chat consoles. Does not affect the main window. Uses gmcp.Comm.Channel.Text.talker to make the determination.
      • lct gagmob Abeytu
        • gags any mob with "Abeytu" in the speaker name in gmcp.
      • lct gagmob a sick .+ child
        • gags a sick human child and a sick merian child and a sick kepheran child etc
  • lct ungagmob <Lua pattern>
    • Removes a lua pattern from the gagged mobs list.
  • lct gag <Lua pattern>
    • add a Lua pattern to check lines against. See this tutorial from lua-users.org for more information. If the content of the line matches any of the patterns then the line will be gagged from the tabbed chat consoles. Does not affect the main window.
      • lct gag .- shouts "I love cheese!"
        • will gag anyone shouting "I love cheese!"
  • lct ungag <Lua pattern>
    • removes a lua pattern from the gagged lines list.

Fix for mmf ndb rogue highlighting

10 Jun 21:33
ebb489f
Compare
Choose a tag to compare

MMF ndb returns "" for the color for rogues, which was breaking ndb highlighting for the chat tabs.

Since the highlighting is never called unless ndb says it has the name, we can assume they're rogue rather than entirely unknown, so it now looks up the color for rogues in the relevant ndb configuration, or falls back to white if it cannot find one.

Thanks to @ashira104 for reporting the issue and helping me to test the fix.

Fix for replaying logs

06 May 00:28
Compare
Choose a tag to compare

Fixes a bug where it would replay part of the html preamble from the log file if there weren't enough lines after it in the file.

Move to using an event handler for enabling GMCP chat

03 Apr 02:10
8dc7e44
Compare
Choose a tag to compare

Someone told me it wasn't working if they QQ'ed and then reconnected, this should resolve that.

Screw it, strip MXP everywhere!

07 Mar 00:00
Compare
Choose a tag to compare

Apparenlty MXP makes its way into other things too, so we'll just get rid of it ALL

Also adds hide and show arguments to the lct alias for hiding and showing the chat tabs.

Small fix for Clans not showing right.

03 Mar 17:12
Compare
Choose a tag to compare

Thanks to Uzriel for pointing it out and providing the fix yoinked from KaiUI.

Finally got myself in a clan to test it and verify it works.

Should be able to just uninstall and reinstall the mpackage.

First release

28 Feb 00:58
Compare
Choose a tag to compare

As part of my ongoing crusade to create individual packages you can cobble a UI together with, I present chat tabs that handles capturing via GMCP. After spending some time looking over KaiUI I honestly couldn't think of a better way to break the channels up, and the gmcp handling was rather similar to my personal chat tabs already, so I kind of folded them together.

This one includes automatic logging to getMudletHomeDir() .. "/log/LusterniaChat/yyyy/mm/dd" where yyyy/mm/dd is the date the conversations took place. One html file per tab.

Will start on the right side, attached to the right border. Resize, move, adjust how you see fit.

Configuration Alias

  • lct save
    • saves the configuration
  • lct load
    • loads the configuration
  • lct font <new font name>
    • Sets the font for the chat consoles. Will not allow you to set one which does not exist.
  • lct fontSize <new font size>
    • Sets the font size for the chat consoles
  • lct blink <true|false>
    • set whether it should blink
  • lct timestamp <true|false>
    • set whether it should add a timestamp at the front
  • lct blankLine
    • set whether it should automatically add a newline to things echoed.