Skip to content

Commands to configure Weechat IRC client

Add and configure an IRC server

# Add server
/server add dalnet -ssl

# Configure user information
/set irc.server.dalnet.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
/set irc.server.dalnet.username "My user name"
/set irc.server.dalnet.realname "My real name"

/set irc.server.dalnet.command "/msg IDENTIFY <password>"

# Autoconnect upon opening weechat
/set irc.server.dalnet.autoconnect on

# Invalid SSL error/warning
/set irc.server.example.ssl_verify off

Connect to server and join channels

/connect dalnet

# Join and quite a channel
/join #channel
/part [quit message]

# close a server

# Disconnect a server


/set env TERM screen-256color


# Log only user chat in channel or in private window
/set logger.level.irc 1

# Log chats in seprate folders per network
/set logger.mask.irc "irc/$server/$channel.weechatlog"


/set weechat.look.mouse on
/mouse enable


/set spell.check.default_dict "en"
Alt + s

Buffer nesting

By default, server buffers are merged with WeeChat core buffer. To switch between the core buffer and server buffers, you can use Ctrl+x.

It is possible to disable auto merge of server buffers to have independent server buffers:

/set irc.look.server_buffer independent


/set irc.look.smart_filter on
/filter add irc_smart * irc_smart_filter *

/filter add joinquit * irc_join,irc_part,irc_quit *

/filter add quit * irc_quit *

To toggle Alt + =
/window bare
Alt + l

then ctrl + click