IRCCAT


about


author:Bart Thate <bthate@gmail.com>
contact:IRCNET/#dunkbots
distribution:core
license:MIT

description


irccat.py - jsonbot “irccat” Module Copyright 2011, Richard Bateman Licensed under the New BSD License.

Written to be used in the #firebreath IRC channel: http://www.firebreath.org

To test, set up the host and port, then use something like:

echo “@taxilian I am awesome” | netcat -g0 localhost 54321

echo “#channel I am awesome” | netcat -g0 localhost 54321

you can specify multiple users (with @) and channels (with #) by seperating them with commas. Not that with jabber, channels tend to be treated as users unless you set up an alias in your channel:

!irccat_add_alias #channel


commands


commands in this plugin:
 irccat_list_aliases .. irccat_del_alias .. irccat-disable .. irccat_add_alias .. irccat-enable

  1. irccat-disable .. [handle_irccat_disable]

    description:[]
    permissions:OPER
    code:jsb.plugs.socket.irccat_irccat-disable_command.
    examples:
    <user> ;irccat-disable
    <output> done - irccat-disable
  2. irccat-enable .. [handle_irccat_enable]

    description:[]
    permissions:OPER
    code:jsb.plugs.socket.irccat_irccat-enable_command.
    examples:
    <user> ;irccat-enable
    <output> done - irccat-enable
  3. irccat_add_alias .. [handle_irccat_add_alias]

    description:[]
    permissions:OPER
    code:jsb.plugs.socket.irccat_irccat_add_alias_command.
    examples:
    <user> ;irccat_add_alias #firebreath
    <output> #test will now receive irccat messages directed at #firebreath
  4. irccat_del_alias .. [handle_irccat_del_alias]

    description:[]
    permissions:OPER
    code:jsb.plugs.socket.irccat_irccat_del_alias_command.
    examples:
    <user> ;irccat_del_alias #firebreath
    <output> #test will no longer receive irccat messages directed at #firebreath
  5. irccat_list_aliases .. [handle_irccat_list_aliases]

    description:List all aliases defined for the current channel
    permissions:OPER
    code:jsb.plugs.socket.irccat_irccat_list_aliases_command.
    examples:
    <user> ;irccat_list_aliases
    <output> #test is receiving irccat messages directed at:

Table Of Contents

Previous topic

GITHUB

Next topic

IRCCAT2

This Page