Command line

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):

CodeDescription
^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:

CodeColor
00white
01black
02dark blue
03dark green
04light red
05dark red
06magenta
07orange
08yellow
09light green
10cyan
11light cyan
12light blue
13light magenta
14gray
15light 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!