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

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Lua
. . -> [Subject]  MXP Entities
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

MXP Entities

You need to log onto the forum to reply or create new threads.

  [Refresh] Refresh page


Posted by Rene   (22 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  (21,322 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   (22 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  (21,322 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.


961 views.

You need to log onto the forum to reply or create new threads.

  [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 FutureQuest]