|
Dyron Apprentice
Joined: 08 Apr 2004 Posts: 103 Location: USA
|
Posted: Fri Nov 18, 2016 3:34 am
GMCP Send help |
I've been trying to do a pull off gmcp on Imperian for this: %gmcp.Char.Items.List.items
It always comes back blank. I was talking to mudlet users that said they have to do a send for it.. So I've been trying to figure out sendgmcp.
I've tried doing a gmcp trigger for Char.Items.Inv like I saw in another post but it doesn't even trying to hit that trigger.. it's like it isn't pulling anything.
Debugger shows nothing going on so I don't think it's doing anything. How do I go about this? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Nov 18, 2016 3:17 pm |
#ALIAS sendgmcp {#SENDSB 201 {%-1}}
You may have to tell the server to enable some features before it will respond properly. You should look at http://www.ironrealms.com/gmcp-doc for documentation on what to send. For example with the alias above you would enter "sendgmcp Char.Items.Inv" or "sendgmcp Char.Items.Contents 23908"
For some of the more complex things that require a JSON list you will probably be better placing the #SENDSB text together in a variable. You might want to look at the %json function as well.
A detailed description of the protocol can be found at https://www.gammon.com.au/gmcp. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|