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.
Entire forum
➜ MUSHclient
➜ MXP and Pueblo
➜ Is there any command can turn on/off MXP?
Is there any command can turn on/off MXP?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Purbam
(8 posts) 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. | Top |
|
Posted by
| Twisol
USA (2,257 posts) 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 | 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.
12,184 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top