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 ➜ Tips and tricks ➜ XML file format attribute names

XML file format attribute names

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


Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Fri 17 May 2002 11:53 PM (UTC)
Message
If you are playing with version 3.21 of MUSHclient, that writes world files in XML format, you may be wondering what the exact names of all the options are. For the <world> options (ie. the general options, not related to triggers, aliases and so on) the names are exactly the same as the ones you can find from either using world.GetOptionList, or simply typing:


/world.debug "options"


Here is an example from one of my worlds, this is what I see when typing the above (in part):

                alternative_inverse = 0
          alt_arrow_recalls_partial = 0
              arrows_change_history = 1
                    arrow_keys_wrap = 0
              arrow_recalls_partial = 0
             autosay_exclude_macros = 0
          autosay_exclude_non_alpha = 0
                         auto_pause = 1
                        auto_repeat = 0
             auto_wrap_window_width = 0
    confirm_before_replacing_typing = 1
                   confirm_on_paste = 1
                    confirm_on_send = 1
                     connect_method = 3
        ctrl_n_goes_to_next_command = 0
    ctrl_p_goes_to_previous_command = 0
       ctrl_z_goes_to_end_of_buffer = 0
        custom_16_is_default_colour = 0
                      detect_pueblo = 1


And, here is the equivalent part of the world file:


   arrows_change_history="y"
   auto_pause="y"
   confirm_before_replacing_typing="y"
   confirm_on_paste="y"
   confirm_on_send="y"
   connect_method="3"
   detect_pueblo="y"


Notice how the names are the same? The difference is that the "world.debug" output shows all options, whereas only the ones that are set (true, or checked), are written to the world file. Thus, you may be wondering what name to use to set (say) auto-repeat. Using the output from world.debug "options", you can have a pretty good idea.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 18 May 2002 06:13 AM (UTC)
Message
The meanings of all the world file general attributes are now described on MUSHclient world file attributes.

- 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.


8,556 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.