This plugin provides a shortcode that renders a lightweight IRC client written in vanilla JavaScript. It supports direct WebSocket connections to IRC servers (IRCv3-friendly) and includes an optional WebIRC gateway.
Security-conscious defaults:
text.ircv3.net)/webirc)Features:
Basic Usage:
Simply add the shortcode [chat_webirc] to any page or post where you want the IRC chat to appear. The plugin will use secure default settings to connect to a test IRC server.
Shortcode Examples:
* Basic: [chat_webirc] – Uses default server and channel
* Custom channel: [chat_webirc channel="#mychannel"]
* Custom server: [chat_webirc server="irc.example.com:7443" channel="#general"]
Available IRC Commands:
Once the chat is loaded, users can use these commands:
Basic Commands:
* /join #channel – Join a channel
* /part [#channel] – Leave current or specified channel
* /nick newname – Change nickname
* /quit [message] – Disconnect
* /help – Show all available commands
Communication:
* /msg <nick> <message> – Send private message
* /notice <target> <message> – Send notice message
* /me <action> – Send action message
* /query <nick> – Open private chat context
User & Channel Info:
* /whois <nick> – Get detailed user information
* /who [channel] – List users in channel
* /list [pattern] – List available channels
* /names [channel] – List nicknames in channel
* /topic [text] – View/set channel topic
Status & Utility:
* /away [message] – Set away status
* /back – Remove away status
* /ping <nick> – Ping user
* /version [nick] – Get version info
Advanced Commands:
* /ctcp <nick> <command> – Send CTCP command
* /motd [server] – View message of the day
* /stats <query> [server] – View server statistics
* /raw <command> – Send raw IRC command (if enabled)
Type /help in the chat for the complete command reference.
Configuration:
Go to Settings Chat for WebIRC in your WordPress admin to customize servers, channels, and security options.