The demonnic MDK

Share your scripts and packages with other Mudlet users.
User avatar
demonnic
Posts: 770
Joined: Sat Dec 05, 2009 3:19 pm

Re: The demonnic MDK

Post by demonnic »

MDK 2.4.1 released https://github.com/demonnic/MDK/releases/tag/v2.4.1
EMCO now raises an event when tabs are changed. event name is "EMCO tab change" with arguments emcoName, oldTabName, and newTabName
fixes some issues with file handling that were causing loggingconsoles on OSX not to function properly

User avatar
demonnic
Posts: 770
Joined: Sat Dec 05, 2009 3:19 pm

Re: The demonnic MDK

Post by demonnic »

MDK 2.5.0 released https://github.com/demonnic/MDK/releases/tag/v2.5.0
Adds built in gagging capabilities to EMCO using Lua patterns. Full information in the release post, but in short you can include the gags constraint when making your EMCO if you know up front things you want to gag
Code: [show] | [select all] lua
gags = {
  '^A goblin says \".+\"$', 
  "GAGTHISLINE"
},
Or to add a gag, then remove it
Code: [show] | [select all] lua
myEMCO:addGag("A sick .+ child says, ")
myEMCO:removeGag("A sick .+ child says, ")

Post Reply