This is an old revision of the document!
GMCP in Mudlet
If you are using Mudlet then (if it is not enabled already) you will need to enable GMCP data.
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:
Char
which contains all information about your character.Char.Name
which is your name and full title.Char.Stats
which is your stats, sogmcp.Char.Stats.str
is your strength, for example.Char.Vitals
which is your hp and cp (though it's called “sp” for now).Char.Status
which contains most of the other stuff you'd see onscore
. For example,gmcp.Char.Status.xp
is your exp.Char.StatusVars
are string-type descriptors of the entries inStatus
. For example,gmcp.Char.StatusVars.xp
is the string “Experience”.Char.Guild
contains data particular to your guild. This usually has sub-subsections. For example, on Atreidesgmcp.Char.Guild.Shieldbelt.Level
is your shieldbelt's level.
Room
which contains data about your current room.Room.name
is it's name.Room.num
is a unique identifier code.Room.Info
contains area (planet) info, indoor/outdoor info, and (visible) exit info.