weechat-support@nongnu.org
[Top] [All Lists]

RE: [Weechat-support] Weechat.config_option_set()

Subject: RE: [Weechat-support] Weechat.config_option_set()
From: Leon Bogaert
Date: Mon, 27 Oct 2008 23:59:23 +0100
Never mind, I found out how it worked.

But....

This works:

option = Weechat::config_get("irc.server.freenode.autoconnect");
Weechat.config_option_set(option, 'true'', 1)

And this doesn't:
option = Weechat::config_get("irc.server.freenode.autojoin");
Weechat.config_option_set(option, '#test', 1)

Anyone a clue?

________________________________________
From: weechat-support-bounces+leon=tim-online.nl@xxxxxxxxxx 
[weechat-support-bounces+leon=tim-online.nl@xxxxxxxxxx] On Behalf Of Leon 
Bogaert [leon@xxxxxxxxxxxxx]
Sent: 27 October 2008 20:55
To: weechat-support@xxxxxxxxxx
Subject: [Weechat-support] Weechat.config_option_set()

Think I sent it to the wrong list :S
________________________________________

Hi all,

How does the config_option_set() function work in Weechat 0.2.7? I've tried 
something like:
Weechat.config_option_set('irc.server.freenode.autoconnect', true)
Weechat.config_option_set('irc.server.freenode.autoconnect', 'true', 1)

But they both fail, so I'm doing something wrong :)

Could somebody help me a hand with this one?

Thanks in advance!

Leon


_______________________________________________
Weechat-support mailing list
Weechat-support@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/weechat-support


_______________________________________________
Weechat-support mailing list
Weechat-support@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/weechat-support

<Prev in Thread] Current Thread [Next in Thread>