Table of Contents

GMCP in Mudlet

Enabling GMCP

If you are using Mudlet then (if it is not enabled already) you will need to enable GMCP data.

Accessing GMCP

Once enabled, Mudlet will automatically share with DuneMUD that it can receive GMCP data. You can check that you are receiving data by entering lua gmcp in your command line.

You'll probably be shown a LOT of data, more than a screen's worth. The GMCP data is organized like a Lua table with gmcp.Section.Subsection.key structure. Some of the sections are:

Using GMCP

You can use the raw GMCP data table in your scripts/triggers/aliases just like you would variables you defined yourself.

You can also use “event handlers” to execute scripts when new GMCP data is received. See the “Triggering on GMCP” section (page 5) of https://www.mudlet.org/wp-content/uploads/2013/02/GMCPtutorial.pdf