Weechat get config variable
Asked Answered
W

1

5

How can I get a Weechat config variable? For instance, I can set configs:

/set irc.servers.freenode.ssl on

How can I retrieve the values I set?

Wolbrom answered 18/5, 2016 at 12:51 Comment(0)
P
7

To check the value of a config variable, you can just do this:

/set irc.servers.freenode.ssl

From the docs:

[core] /set [<option> [<value>]]

The value is optional and when not present, it returns the value of the variable. Intuitively, it might seem like leaving off the value would unset the variable or set it to the empty string, but you would need to use the /unset command instead.

Also note, you can use wildcards to view multiple config variables at once:

/set irc.servers.freenode.*
Pneumo answered 27/9, 2016 at 18:59 Comment(1)
Why is there no /get? ..Gingerich

© 2022 - 2024 — McMap. All rights reserved.