WeeChat DevCenter

New version of script iset.pl

Script iset.pl has been improved. Now you can setup colors for option names, types and values. And null values are displayed with different color (for IRC server options). There's new config options, you can set with /set command:

  • /set plugins.var.perl.iset.color_bg_selected color
  • /set plugins.var.perl.iset.color_option color
  • /set plugins.var.perl.iset.color_option_selected color
  • /set plugins.var.perl.iset.color_type color
  • /set plugins.var.perl.iset.color_type_selected color
  • /set plugins.var.perl.iset.color_value color
  • /set plugins.var.perl.iset.color_value_selected color
  • /set plugins.var.perl.iset.color_value_undef color
  • /set plugins.var.perl.iset.color_value_undef_selected color

A screenshot is better than long speech: weechat_iset_2009-01-04.png

Comments

1. On Thursday, January 15 2009, 19:47 by Matze

Hi,

downloaded this script and put it into .weechat/perl/autoload/

and get the following error while starting up weechat

Perl error: Bareword "weechat::WEECHAT_RC_OK" not allowed while "strict subs" in use at (eval 2) line 98.

Greetz

Matze

2. On Friday, January 16 2009, 12:55 by FlashCode

Probably you're not using devel version: API has changed and is not compatible with previous releases.

3. On Friday, January 16 2009, 14:08 by Matze

Thanks for the answer.

Thought that also, and tried the devel-version.

Now it works :)

Thanks for the good work! :)

Maybe you could help me with one thing.

I would love to set up different highlight-pattern, so that people could talk to me with different way of writing my nick, and i would love to see this than.
Searched for the help, but there is nothing in it.

So, please, where could i set highlights?
Exampe:
Highlight for matze,maze,,matse and so on..

Matze

4. On Friday, January 16 2009, 14:36 by Matze

Another Question..

Meta-Key is alt..as far as i know

what is meta2-key?

Matze

5. On Friday, January 16 2009, 17:40 by FlashCode

With devel version: /set weechat.look.highlight "matse*"
meta2 is a code returned by some keys (like F1-F12). To find code for a key, use alt+k, then press key. This will insert its code in input line.
Btw, please use IRC channel or forum for questions about WeeChat, I'll answer faster than with comments here ;)