irc.js [options] [server] [port] [channel]
With no arguments the client connects to the server configured in the module and joins its default channel. The three positional arguments override that, in order, and a channel name containing spaces has them turned into underscores.
Options are case-insensitive and must come before the server, port and channel arguments.
| Option | Description |
|---|---|
-a | Register with the caller's alias instead of their real name |
-t <theme> | Load an alternate theme file instead of the default |
-p <pass> | Send this password to the server; by default the caller's own BBS password is sent |
Note: the password is sent with the IRC PASS command when the
caller has one, so a server that does not expect a password will reject
or ignore it.