lightssetr.blogg.se

Mudlet demonic tabbed chat
Mudlet demonic tabbed chat




mudlet demonic tabbed chat

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.

mudlet demonic tabbed chat

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.

mudlet demonic tabbed chat

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

  • set to the desired alignment of the tab text.
  • set to the desired font size for the tabs.
  • tabItalics and enable/disable functions.
  • tabUnderline and enable/disable functions.
  • (re)install the latest version of the packageĪdds the following constraints to EMCO, as well as the functions to interact with them:.
  • 'emco color' with no options will print out available options
  • used to change the colors for the active/inactive tab, and the background color for the consoles.
  • turn inserting a blank line between messages on/off.
  • Available aliases for the prebuilt EMCO package There is also decho and hecho available the same way. If you want to send lines to the EMCO in code yourself, you can use demonnic.chat:cecho("OOC", "This is an OOC message\n").






    Mudlet demonic tabbed chat