Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mudlet:chat_capture_window [2021/07/13 23:45] – Further refinements of Mudlet capture settings paradox | mudlet:chat_capture_window [2023/11/05 22:08] (current) – [Advanced: Adding Timestamps] math | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| height = " | height = " | ||
| dockPosition = " | dockPosition = " | ||
| + | autoWrap = true, | ||
| }) | }) | ||
| chat_window: | chat_window: | ||
| Line 47: | Line 48: | ||
| - Click save item. | - Click save item. | ||
| - You may need to reconnect to the MUD to get the window to appear. | - You may need to reconnect to the MUD to get the window to appear. | ||
| + | |||
| + | ===== Advanced: Adding Timestamps ===== | ||
| + | |||
| + | To add timestamps to your chat capture window, replace | ||
| + | < | ||
| + | copy() | ||
| + | chat_window: | ||
| + | </ | ||
| + | in the previous examples with | ||
| + | < | ||
| + | echo(" | ||
| + | </ | ||
| + | Check the Mudlet Lua documentation to see more formatting options for getTime(). | ||
| ===== Capture Additional Channels ===== | ===== Capture Additional Channels ===== | ||
| - | TBD | + | To capture additional channels to the same window simply add more capture patterns to the trigger. |
| ===== Styling the Capture Window ===== | ===== Styling the Capture Window ===== | ||
| - | TBD | + | Here's an example of adding additional styling to the chat capture window. |
| + | |||
| + | **NOTE: Requires Mudlet 4.10+ and Linux - will not work on older Mudlet or MacOS/ | ||
| + | |||
| + | - Open the " | ||
| + | - Change your "Chat Capture Window" | ||
| + | chat_window = Geyser.UserWindow: | ||
| + | name = " | ||
| + | titleText = " | ||
| + | docked = true, | ||
| + | height = " | ||
| + | dockPosition = " | ||
| + | }) | ||
| + | |||
| + | chat_window: | ||
| + | background-color: | ||
| + | border-width: | ||
| + | border-color: | ||
| + | border-style: | ||
| + | border-radius: | ||
| + | ]]) | ||
| + | |||
| + | chat_window: | ||
| + | return 1 | ||
| + | end | ||
| + | |||
| + | make_chat_window() | ||
| + | </ | ||