[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Lua
. . -> [Subject]  MXP Entities

MXP Entities

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Rene   (46 posts)  [Biography] bio
Date Sun 03 Dec 2017 06:23 AM (UTC)
Message
How do I get a list which MXP entities are being sent from the MUD that I can use?
Thanks.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Sun 03 Dec 2017 06:46 AM (UTC)
Message
What do you mean "that I can use"? Use in what way?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Rene   (46 posts)  [Biography] bio
Date Reply #2 on Sun 03 Dec 2017 06:18 PM (UTC)
Message
Meaning how can I get a list of what entities the MUD is sending me? Like all possible entities.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sun 03 Dec 2017 08:08 PM (UTC)

Amended on Sun 03 Dec 2017 08:09 PM (UTC) by Nick Gammon

Message
Not really, because the server can define its own entities. See:

http://www.gammon.com.au/forum/?bbsubject_id=223

You can find the inbuilt entities by using a scripting Immediate window and executing:


Debug ("entities")



You can find out what entities the server has defined so far (and their current values) by executing:


Debug ("server_entities")


However that won't be "all possible" entities - it will be the ones that have been defined so far. Quite possibly they won't change if you connect and the server defines them early on in the login process.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,465 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]