gnu-social/plugins/Irc
2010-08-07 16:31:30 -07:00
..
extlib Merged in Phergie changes 2010-08-07 16:31:30 -07:00
ChannelResponseChannel.php Cosmetic comment change 2010-08-07 13:28:11 -07:00
Fake_Irc.php Lots more work - Implemented nickname checking 2010-07-23 13:33:41 -07:00
ircmanager.php Bot responds to channel commands via PM 2010-08-05 10:48:41 -07:00
IrcPlugin.php Commands can now be whitelisted to allow response to the channel 2010-08-07 13:25:05 -07:00
README More Irc plugin work 2010-07-26 11:13:00 -07:00

The IRC plugin allows users to send and receive notices over an IRC network.

Installation
============
add "addPlugin('irc',
    array('setting'=>'value', 'setting2'=>'value2', ...);"
to the bottom of your config.php

scripts/imdaemon.php included with StatusNet must be running. It will be started by
the plugin along with their other daemons when you run scripts/startdaemons.sh.
See the StatusNet README for more about queuing and daemons.

Settings
========
host*: Hostname of IRC server
port: Port of IRC server (defaults to 6667)
username*: Username of bot
realname*: Real name of bot
nick*: Nickname of bot
password: Password
nickservpassword: NickServ password for identification
nickservidentifyregexp: Override existing regexp matching request for identification from NickServ
channels: Channels for bot to idle in
transporttype: Set to 'ssl' to enable SSL
encoding: Set to change encoding
regcheck: Check user's nicknames are registered, enabled by default, set to false to disable
regregexp: Override existing regexp matching response from NickServ if nick checked is registered.
           Must contain a capturing group catching the nick
unregregexp: Override existing regexp matching response from NickServ if nick checked is unregistered
             Must contain a capturing group catching the nick

* required

Example
=======
addPlugin('irc', array(
    'host' => '...',
    'username' => '...',
    'realname' => '...',
    'nick' => '...',
    'channels' => array('#channel1', '#channel2')
));