Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Lua ➜ MXP Entities

MXP Entities

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


Posted by Rene   (46 posts)  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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  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
Top

Posted by Rene   (46 posts)  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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  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
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.


15,263 views.

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

Go to topic:           Search the forum


[Go to top] top

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