[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]  MXP and Pueblo
. . -> [Subject]  Is there any command can turn on/off MXP?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Is there any command can turn on/off MXP?

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


Posted by Purbam   (8 posts)  [Biography] bio
Date Thu 04 Mar 2010 08:54 AM (UTC)
Message
I am looking for a funtion/command which turns on/off MXP directly without opening a pop-up window to select by pull-down menu. I wanna use it in a alias/trigger.

The only relevant function I have found is world.DoCommand ("ConfigureMxpPueblo"), but it pops up the window and needs user interactions.

Thanks in advance.
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #1 on Thu 04 Mar 2010 06:02 PM (UTC)
Message
Sure. Use SetOption("use_mxp", <level>), where <level> is a number from 0 to 3. You can use SetOption("use_mxp", 2) to set it to "Yes - always" in the GUI, for example - the order is the same as in the GUI's dropdown, but starting from 0.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[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.


2,924 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 FutureQuest]