Command reference

Currency

Economyadmin

Command words
currency
Permission
Admin

Help on Currency

This command is used to create, edit and view currencies. See also the closely related COIN command for editing coins for your currencies, and LOADCURRENCY for loading some into the world. The syntax for editing currencies is as follows: currency list - lists all of the currencies (see below for filters) currency edit <which> - begins editing a currency currency edit new <name> <lowest division> <lowest coin> - generates a new coin currency clone <old> <new> - clones an existing currency to a new one currency close - stops editing a currency currency show <which> - views information about a currency currency show - views information about your currently editing currency currency set name <name> - sets the name of this currency currency set conversion <rate> - sets the global currency conversion rate (to global base currency) currency set adddivision <name> <rate> - adds a new currency division currency set remdivision <id|name> - removes a currency division currency set division <id|name> name <name> - sets a new name for the division currency set division <id|name> base <amount> - sets the amount of base currency this division is worth currency set division <id|name> ignorecase - toggles ignoring case in the regular expression patterns for the division currency set division <id|name> addabbr <regex> - adds a regular expression pattern for this division currency set division <id|name> remabbr <#> - removes a particular pattern abbreviation for this division currency set division <id|name> abbr <#> <regex> - overwrites the regular expression pattern at the specified index for this division currency set addpattern <type> - adds a new pattern of the specified type currency set removepattern <id> - removes a pattern currency set pattern <id|name> order <#> - changes the order in which this pattern is evaluated for applicability currency set pattern <id|name> prog <which> - sets the prog that controls applicability for this pattern currency set pattern <id|name> negative <prefix> - sets a prefix applied to negative values for this pattern (e.g. - or negative .) Be sure to include spaces if necessary currency set pattern <id|name> natural - toggles natural aggregation style for pattern elements (commas plus "and") rather than just concatenation currency set pattern <id|name> addelement <division> <plural> <pattern> - adds a new pattern element currency set pattern <id|name> remelement <id|#> - deletes an element. currency set pattern <id|name> element <id|#order> zero - toggles showing this element if it is zero currency set pattern <id|name> element <id|#order> specials - toggles special values totally overriding the pattern instead of just the value part currency set pattern <id|name> element <id|#order> order <#> - changes the order this element appears in the list of its pattern currency set pattern <id|name> element <id|#order> pattern <pattern> - sets the pattern for the element. Use {0} for the numerical value. currency set pattern <id|name> element <id|#order> last <pattern> - sets an alternate pattern if this is the last element in the display. Use {0} for the numerical value. currency set pattern <id|name> element <id|#order> last none - clears the last alternative pattern currency set pattern <id|name> element <id|#order> plural <word> - sets the word in the pattern that should be used for pluralisation currency set pattern <id|name> element <id|#order> rounding <truncate|round|noround> - changes the rounding mode for this element currency set pattern <id|name> element <id|#order> addspecial <value> <text> - adds or sets a special value currency set pattern <id|name> element <id|#order> remspecial <value> - removes a special value