Releases: demonnic/LusterniaChatTabs
OS Notification support
Small bugfix for when ndb is not yet configured
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
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
anda sick merian child
anda sick kepheran child
etc
- gags
- 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 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!"
- 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 ungag <Lua pattern>
- removes a lua pattern from the gagged lines list.
Fix for mmf ndb rogue highlighting
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
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
Someone told me it wasn't working if they QQ'ed and then reconnected, this should resolve that.
Screw it, strip MXP everywhere!
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.
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
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.