Relay Module

From Botnix

Overview

The Relay module provides relaying of channel activity to another network and channel.

Configuration

The format of the relay configuration block is as follows:

relay "RelayName" {
	SourceInfo "SourceNetwork" "#SourceChannel"
        DestInfo "DestinationNetwork" "#DestinationChannel"
        [DestInfo "DestinationNetwork" "#DestinationChannel"]
        [DestInfo "DestinationNetwork" "#DestinationChannel"]
        [...]
}

NOTE: SourceNetwork and DestinationNetwork MUST match the Network names as specified in the Network blocks, which are case sensitive.

  • RelayName - Name of this block of Network/Channel combination. (May be multiple relay blocks)
  • SourceNetwork - The Source Network Name.
  • SourceChannel - The Source Channel Name.
  • DestinationNetwork - The Destination Network Name.
  • DestinationChannel - The Destination Channel Name.
norelaynicks "botnix!*\@*"

norelaynicks contains a Regex of the users you do not want to relay in any channels/networks.

Developers

This module by default ignores the bot's own relaying.