Skip to main content

Weechat - Misc

Join a server

/server add BNC my.bouncer.net/6697 -ssl -username=username/network -password=password -autoconnect
/save
/connect <servername>

Get ZNC sha

cat ~/.znc/znc.pem | openssl x509 -sha512 -fingerprint -noout | tr -d ':' | tr 'A-Z' 'a-z' | cut -d = -f 2

enter fingerprint

 /set irc.server.BNC.ssl_fingerprint MD5_or_SHA256_or_SHA512_fingerprint_here

Join Freenode

/server add freenode chat.freenode.net/6697 -ssl -autoconnect

accept self signed ssl certificate

/set irc.server.example.ssl_verify off

Set autojoin Channels

/set irc.server.<servername>.autojoin "#<channel1>,#<channel2>,#..." 

Hide Username from Weechat window

you may want to show off your weechat with a screenshot and may want to hide your Username by default, to do this, enter the following in weechat:

/script install iset.pl
/iset input
/set weechat.bar.input.items "[input_search],[input_paste],input_text"

set and register Nickname

sasl

/set irc.server.<ircserver>.sasl_mechanism PLAIN
/set irc.server.<ircserver>.sasl_username <login>
/set irc.server.<ircserver>.sasl_password <password>
/save
/reconnect <ircserver>

Nickserv

/nick <yournickname>
/msg nickserv register <password> <email>

After that, you should get an email with your verification code. Verify via:

/msg nickserv identify <verification-code>

Set Username for specific Server

/set irc.server.<server>.nicks <yournickname>

Set Char length in front of messages

/set weechat.look.prefix_align_max <integer>