We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Today options can be with type "integer" and have "string values": that means they are stored as integer internally but set and shown as strings.
This is confusing and not even consistent, for example /help irc.look.nick_mode shows:
/help irc.look.nick_mode
Option "irc.look.nick_mode": description: display nick mode (op, voice, ...) before nick (none = never, prefix = in prefix only (default), action = in action messages only, both = prefix + action messages) type: string values: "none", "prefix", "action", "both" default value: "prefix" current value: "prefix"
While fset shows the option as integer:
irc.look.nick_mode integer prefix
Behavior of type "enum":
/help
Once implemented, the display of /help irc.look.nick_mode will be:
Option "irc.look.nick_mode": description: display nick mode (op, voice, ...) before nick (none = never, prefix = in prefix only (default), action = in action messages only, both = prefix + action messages) type: enum values: "none", "prefix", "action", "both" default value: "prefix" current value: "prefix"
Fset plugin will show:
irc.look.nick_mode enum prefix
The text was updated successfully, but these errors were encountered:
66cb9f6
scripts: add functions config_enum and config_enum_default in scripti…
d9555cc
…ng API (issue #1973)
flashcode
No branches or pull requests
Feature description
Today options can be with type "integer" and have "string values": that means they are stored as integer internally but set and shown as strings.
This is confusing and not even consistent, for example
/help irc.look.nick_mode
shows:While fset shows the option as integer:
Behavior of type "enum":
/help
and fset plugin show type "enum".Once implemented, the display of
/help irc.look.nick_mode
will be:Fset plugin will show:
The text was updated successfully, but these errors were encountered: