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:
| Code | Description |
|---|---|
| %B | bold text |
| %Cxx |
text color "xx"
(see colors table below)
|
| %Cxx,yy |
text color "xx"
and background "yy"
(see colors table below)
|
| %O | disable color and attributes |
| %R | reverse video (revert text color with background) |
| %U | underlined text |
| %% |
display one "%"
|
Note: the same code (without number for %C) may be used to stop the attribute.
Color codes for %C 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:
%C12%Bhello%B%C04%U everybody%U%C!