WeeChat command line (at the bottom of window) lets you send text on channels and execute WeeChat or IRC commands (see the section called “WeeChat / IRC commands”).
Commands begin with "/" char, followed by name of command. For example, to initiate a private chat with "toto":
/query toto
Text sent to a channel is any text that does not begin with "/" char. For example, to send text "hello" on current channel:
hello
However, it is possible to start with "/" char, by adding another. For example, to send text "/query toto" on current channel:
//query toto
If option for sending IRC colors ("irc_colors_send") is enabled, you can use color codes and attributes, as follow (press Ctrl-C then following letter, with optional value):
Code | Description |
---|---|
^Cb | bold text |
^Ccxx | text color "xx" (see colors table below) |
^Ccxx,yy | text color "xx" and background "yy" (see colors table below) |
^Co | disable color and attributes |
^Cr | reverse video (revert text color with background) |
^Cu | underlined text |
Note: the same code (without number for ^Cc) may be used to stop the attribute.
Color codes for ^Cc are:
Code | Color |
---|---|
00 | white |
01 | black |
02 | dark blue |
03 | dark green |
04 | light red |
05 | dark red |
06 | magenta |
07 | orange |
08 | yellow |
09 | light green |
10 | cyan |
11 | light cyan |
12 | light blue |
13 | light magenta |
14 | gray |
15 | light gray (white) |
Example: display of "hello everybody!" with "hello" in light blue bold, and "everybody" in light red underlined:
^Cc12^Cbhello^Cb^Cc04^Cu everybody^Cu^Cc!