This is an old revision of the document!
Table of Contents
Chat Capture Window Mudlet Script
Let's walk through setting up Mudlet to separate channel output for [chat]
in its own window so it won't be lost with combat spam.
Create a Window Script
- Connect to the MUD with your existing Mudlet profile
- Click the “scripts” button in the toolbar
- Click the “add item” button to create a new script.
- Enter a name, like “Chat Capture Window”
- In “Add User Event Handler:” enter:
sysConnectionEvnet
- Click the “+” button.
- Copy in the following source code to the text area.
function make_chat_window() chat_window = Geyser.UserWindow:new({ name = "chat_window", titleText = "CHATS", docked = true, height = "5c", dockPosition = "top", }) chat_window:setFontSize(getFontSize()) return 1 end make_chat_window()
- Click the “Save Item” button
Create a [chat] Capture Trigger
- Click the “triggers” button in the toolbar (or the lefthand menu of the scripts page if you still have that open).
- Click the “add item” button.
- Give your trigger a name like “Chat Capture”.
- In the first pattern, enter a channel name as it appears in game:
[chat]
- Leave everything else empty.
- Copy in the following code to the textarea:
if(chat_window) then selectCurrentLine() copy() chat_window:appendBuffer() end
- Click save item.
- You may need to reconnect to the MUD to get the window to appear.
Capture Additional Channels
TBD
Styling the Capture Window
TBD