• Register nickname on server:
    /nick YourNick
    /msg NickServ REGISTER YourPassword

  • Login
    /msg NickServ IDENTIFY YourNick YourPassword

  • Logging In
    /connect 6697 YourNick:YourPassword


  • Register your channel:
    /msg ChanServ register #channel

  • Enable the GUARD (ChanServ) flag for your channel using:
    /msg ChanServ set #channel guard on

  • Set ops:
    /msg ChanServ flags #channel yournick +o

  • Set ops and auto-ops:
    /msg ChanServ flags #channel yournick +oO

  • Set topic lock ON or OFF:
    /msg ChanServ SET #channel TOPICLOCK {ON | OFF}

  • If you have only set the lowercase letter +o, you must type the command below when you re-join the channel to become an operator again:
    /msg ChanServ op #channel

Quick notes (weechat)

  • For /cs, /ns commands your need set to on

Add server:
/server add freenode

  • then edit ~/.weechat/irc.conf only if weechat is not running!

/connect freenode

Send PM:
/query user this is a message

Quick close chat window, add key mapping (Alt+!):
/key bind meta-! /buffer close

User modes

/mode #channel +q [user]
/msg ChanServ OWNER #channel [user]
  • +q
    • User is owner of the current channel (prefix ~ on UnrealIRCd, usually @ elsewhere)
  • +a
    • User is an admin (SOP) on the current channel (prefix & on UnrealIRCd, usually @ elsewhere).
  • +o
    • User is an operator (AOP) on the current channel (prefix @).
  • +h
    • User is a half-op on the current channel (prefix %).
  • +v
    • User has voice on the current channel (prefix +).

Weechat BNC / Add ZNC Server

For server:

openssl s_client -connect </dev/null 2>/dev/null | openssl x509 -in /dev/stdin -noout -fingerprint -sha256  | sed s/://g | cut -c 20-


For username “YourName” and server “freenode” with password: “YourPassword”

/server add BNC -ssl -username=YourName/freenode -password=YourPassword -autoconnect
/set irc.server.BNC.ssl_fingerprint 5A038025E789ED2F1032EB15XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX08FA693
/connect BNC

More info:

> Rly good: IRC cheat sheet

Add groupname:

/nick [groupname]
/msg nickserv group
/msg nickserv set accountname [groupname]