

This is a table that should contain a list of the tabs you never want mirrors to the all tab. Also adds new constraint, allTabExclusions.Works for append and all the echo, echoLink, and echoPopup variants. For example myEMCO:echo("Guild", "Wow, so echo, no all tab\n", true). All your existing calls as myEMCO:echo(tabName, text) will still work, but you can now add, true as the final argument and it will exclude the echo from the all tab. Adds new optional argument to c/d/h/echo, excludeAll.Adds wrappers for c/d/h/echoLink/Popup functionality, with timestamps and mirroring to an allTab.You can now :echo to the all tab and it won't double up the echo.

If your EMCO is in a container and set to take up 100% of it, it will now properly do so.Also allTabName will now default to the name of the first console in your EMCO if you do not specify one, instead of All which may not exist. If you don't have a tab named All but let allTabName default to All, EMCO will no longer error during instantiation.channel)Įnd if chatCaptureEventID then killAnonymousEventHandler(chatCaptureEventID)ĬhatCaptureEventID = registerAnonymousEventHandler( " ", chatCapture)įor replaying the last X lines into an emco tab/all emco tabs. channel: upper()) then debugc( "GMCP channel that isn't in console list: ". Image = "/home/demonnic/Pictures/i-am-the-mud-client-now.png ", Container: new(,ĬGT = function( txt) send( "cgt ". Picture below, showing the image and the different 'modes' (same as Mudlet's setBackgroundImage for miniconsoles.)ĮmcoContainer = emcoContainer or Adjustable.
#MUDLET DEMONIC TABBED CHAT CODE#
The following 48 lines of code create a set of chat tabs in an adjustable container with gmcp message handling in Lusternia, including logging, sending the commandline from CT to the ct channel, the CGT commands to the CGT channel, and a background image.

I find it best to perhaps show with an example. It is also now using the new LoggingConsole class from the MDK. I added support for the miniconsole command lines and background images to EMCO. Defaults to center.Ĭommand line, background image, and logging support for EMCO
