Jon Portnoy > Bot-Cobalt > Bot::Cobalt::Plugin::Extras::Relay

Download:
Bot-Cobalt-0.016002.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.016002   Source  

NAME ^

Bot::Cobalt::Plugin::Extras::Relay - Multiplex IRC channels

DESCRIPTION ^

This plugin is an IRC multiplexer; it can be used to relay IRC channel chatter across networks (or on the same network, if you like) in flexible ways.

Channels on any context can be mapped to channels on any other context; relays are always bidirectional, but you can still map one-to-many; see the configuration example below.

CONFIGURATION ^

An example relay.conf:

  ## Map Main:#otw <-> IRCNode:#otw
  ## Map Main:#otw <-> Paradox:#perl
  ## (Paradox and IRCNode won't be relayed to each other)
  Relays:
    - From:
        Context: Main
        Channel: '#otw'
      To:
        Context: IRCNode
        Channel: '#otw'
    - From:
        Context: Main
        Channel: '#otw'
      To:
        Context: AlphaChat
        Channel: '#perl'

See etc/plugins/relay.conf in the Bot::Cobalt distribution.

COMMANDS ^

!relay

Display the configured relay for the current channel.

!rwhois

Remotely 'whois' a user on the relayed end.

AUTHOR ^

Jon Portnoy <avenj@cobaltirc.org>

http://www.cobaltirc.org

syntax highlighting: