Added the protocol_key to the new options-output.
This commit is contained in:
parent
db1356057a
commit
b1b8abf46a
1 changed files with 5 additions and 13 deletions
|
|
@ -372,20 +372,12 @@ class CmdOption(MuxPlayerCommand):
|
||||||
"""
|
"""
|
||||||
Set an account option
|
Set an account option
|
||||||
|
|
||||||
@option
|
Usage:
|
||||||
@option encoding [= encoding]
|
@option [name = value]
|
||||||
@option screenreader [= on|off]
|
|
||||||
|
|
||||||
The text encoding is mostly an issue only if you want to use
|
This command allows for viewing and setting client interface
|
||||||
non-ASCII characters (i.e. letters/symbols not found in English).
|
settings.
|
||||||
If you see that your characters look strange (or you get encoding
|
|
||||||
errors), you should use this command to set the server encoding to
|
|
||||||
be the same used in your client program. If given the empty string
|
|
||||||
(default), the custom encoding will be removed and only Evennia's
|
|
||||||
defaults will be used.
|
|
||||||
|
|
||||||
The screenreader setting strips the text output for users using
|
|
||||||
screen readers. It strips based on settings.SCREENREADER_REGEX_STRIP.
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
key = "@option"
|
key = "@option"
|
||||||
|
|
@ -420,7 +412,7 @@ class CmdOption(MuxPlayerCommand):
|
||||||
options.pop("TTYPE", None)
|
options.pop("TTYPE", None)
|
||||||
|
|
||||||
options = "\n".join(" {w%s{n: %s" % (key, options[key]) for key in sorted(options))
|
options = "\n".join(" {w%s{n: %s" % (key, options[key]) for key in sorted(options))
|
||||||
self.msg("{wClient settings:{n\n%s{n" % options)
|
self.msg("{wClient settings (%s):{n\n%s{n" % (self.session.protocol_key, options))
|
||||||
return
|
return
|
||||||
|
|
||||||
if not self.rhs:
|
if not self.rhs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue