Hi I'm trying to enable very simple GMCP data capture from a mud.
I downloaded Twisol's plugin that he posted in another thread (now closed or else I'd have replied to that post). It can be downloaded here: http://jonathan.com/mushclient-achaea-plugins
So I enabled the plugin and it seems to work since it shows the GMCP data when I enable debug by typing "gmcp debug".
My question is, how do I capture that data into variables? I can write simple lua scripts using aliases/triggers. But trying to look through his other xml and lua files for other plugins using GMCP data is a bit confusing for this non-programmer.
The GMCP data I get from the mud is as follows when I turn debug on:
"message"="Char.Vitals"
"data":
"fatigue"=0
"mana"=100
"hp"=100
"bleeding"=0
"message"="Char.Team"
"data":
1:
"name"="Chiara"
"pos"="0"
"leader"="0"
"hp"="100"
"blood"="0"
2:
"name"="Nicole"
"pos"="1"
"leader"="1"
"hp"="100"
"blood"="0"
I would like to capture all the Char.Vitals into individual variables to display, as well as the hp/blood for Char.Team for Chiara.
Is there a simple alias/trigger script someone can show me that can capture the data using Twisol's GMCP plugin please?
I downloaded Twisol's plugin that he posted in another thread (now closed or else I'd have replied to that post). It can be downloaded here: http://jonathan.com/mushclient-achaea-plugins
So I enabled the plugin and it seems to work since it shows the GMCP data when I enable debug by typing "gmcp debug".
My question is, how do I capture that data into variables? I can write simple lua scripts using aliases/triggers. But trying to look through his other xml and lua files for other plugins using GMCP data is a bit confusing for this non-programmer.
The GMCP data I get from the mud is as follows when I turn debug on:
"message"="Char.Vitals"
"data":
"fatigue"=0
"mana"=100
"hp"=100
"bleeding"=0
"message"="Char.Team"
"data":
1:
"name"="Chiara"
"pos"="0"
"leader"="0"
"hp"="100"
"blood"="0"
2:
"name"="Nicole"
"pos"="1"
"leader"="1"
"hp"="100"
"blood"="0"
I would like to capture all the Char.Vitals into individual variables to display, as well as the hp/blood for Char.Team for Chiara.
Is there a simple alias/trigger script someone can show me that can capture the data using Twisol's GMCP plugin please?