Option set (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 5: Line 5:
|note=This slash command allows a user to set various options through the chat command line or through [[binds]]/[[macros]], instead of opening the [[The Players' Guide to the Cities/User Interface/Options Window|options window]].
|note=This slash command allows a user to set various options through the chat command line or through [[binds]]/[[macros]], instead of opening the [[The Players' Guide to the Cities/User Interface/Options Window|options window]].


* '''''Option_name''''' is the name of the option that can be found in the [[Option Names List]] page. Also the Options.txt default file generated by the {{slashcommand|option_save}} command has a smaller list. Options.txt is located in the [[Default Folder|Default Directory]]. An even less complete list of option names can be brought up using the {{slashcommand|option_list}} command. There are [[Option_list (Slash Command)|110 different options]] that can be set using the option_set command [updated June 7, 2022].
* '''''Option_name''''' is the name of the option that can be found in the [[Option Names List]] page. Also the Options.txt default file generated by the {{slashcommand|option_save}} command has a smaller list, and is located in the [[Default Folder|Default Directory]]. An even less complete list of option names can be brought up using the {{slashcommand|option_list}} command. There are [[Option_list (Slash Command)|110 different options]] that can be set using the option_set command [updated June 7, 2022].


* '''''value''''' can be multiple choices:
* '''''value''''' can be multiple choices:
:* ''0'' turns an option off
:* ''0'' turns an option off
:* ''1'' turns an option on
:* ''1'' turns an option on
:* Some options may have specific values consisting of either numbers, letters, words, or a combination of them.}}
:* Some options may have specific values consisting of either numbers, letters, words, or some combination.}}
* For a list of option settings to use with {{slashcommand|option_set}} see [[Option Names List]].
* For a list of option settings to use with {{slashcommand|option_set}} see [[Option Names List]].
* Make sure you close the Options window before you change any settings with a slash command. If you use a slash command while the Options window is open, often nothing will change.
* Make sure you close the Options window before you change any settings with a slash command. If you use a slash command while the Options window is open, often nothing will change.

Latest revision as of 05:20, 11 December 2024

Slash Command

/option_set option_name value

This slash command allows a user to set various options through the chat command line or through binds/macros, instead of opening the options window.

  • Option_name is the name of the option that can be found in the Option Names List page. Also the Options.txt default file generated by the /option_save command has a smaller list, and is located in the Default Directory. An even less complete list of option names can be brought up using the /option_list command. There are 110 different options that can be set using the option_set command [updated June 7, 2022].
  • value can be multiple choices:
  • 0 turns an option off
  • 1 turns an option on
  • Some options may have specific values consisting of either numbers, letters, words, or some combination.
  • For a list of option settings to use with /option_set see Option Names List.
  • Make sure you close the Options window before you change any settings with a slash command. If you use a slash command while the Options window is open, often nothing will change.


Example

/option_set NoXP 1

Enables the "NoXP" option, turning off experience gain.


Also