weechat-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Leon Bogaert
Subject: RE: [Weechat-support] Weechat.config_option_set()
Date: Wed, 29 Oct 2008 07:38:49 +0100

I spoke with FlashCode and it seems that config_option_set() doesn't work when 
an option is not set in the config file. And the whole config_option_* stuff 
was still a bit unstable. So I could better use command(), which I did ;)
________________________________________
From: Leon Bogaert
Sent: 27 October 2008 23:59
To: address@hidden
Subject: RE: [Weechat-support] Weechat.config_option_set()

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: address@hidden address@hidden On Behalf Of Leon Bogaert address@hidden
Sent: 27 October 2008 20:55
To: address@hidden
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
address@hidden
http://lists.nongnu.org/mailman/listinfo/weechat-support




reply via email to

[Prev in Thread] Current Thread [Next in Thread]