Chapter 5. Remote administration

Table of Contents

Commands
Example commands

CtrlProxy supports remote administration thru IRC. Commands can be executed by either using the /CTRLPROXY command in your IRC client or sending them to the nick ctrlproxy on a network.

The syntax for the commands is very simple: the command should be followed by one or arguments, seperated by spaces. Quoting is not supported. Those familiar with NickServ or ChanServ will already be used to this syntax.

Commands

The following commands are supported:

ADDNETWORK <name>

Adds a new network with the specified name.

ADDSERVER <network> <server> <port>

Adds a new server to the specified network with the specified type and options.

Example: addserver OPN irc.freenode.net 6667

BACKLOG [<channel>]

Without any arguments, the BACKLOG command replicates all the backlogs for the current channel.

With one argument, the name of a channel, all lines on that channel are replicated.

CONNECT <network>

Connect to the specifed network. Ctrlproxy will connect to the first known server for this network.

DELNETWORK <network>

Remove the specified network. The network may not be connected.

DIE

Disconnect all clients and servers and exit ctrlproxy.

DISCONNECT <network>

Disconnect from the specified network.

DETACH

Detach client from the proxy.

LISTNETWORKS

Prints out a list of all networks ctrlproxy is connected to at the moment.

NEXTSERVER

Makes the specified network disconnect from the current server and go to the next one.

SAVECONFIG

Save the (updated) configuration to the location it was loaded from (usually $HOME/.ctrlproxy/).

HELP

Prints out list of available commands.