Mikael Nordfeldth 4520e8c517 Old examples of lacking 'new' before 'Exception' vor 10 Jahren
..
classes 4520e8c517 Old examples of lacking 'new' before 'Exception' vor 10 Jahren
extlib a3fea6f673 Merge in Phergie changes vor 13 Jahren
lib e9e4190b64 IrcManager does not have serverError, so it must throw ServerException vor 10 Jahren
locale 51b28eda19 Localisation updates from http://translatewiki.net. vor 12 Jahren
IrcPlugin.php f110fc5c9a Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION vor 10 Jahren
README d2c72d8ae1 Add an config option to change the ping interval vor 13 Jahren

README

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
pinginterval: Set to change the number of seconds between pings (helps keep the connection open)
Defaults to 120 seconds
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')
));