]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/Irc/README
79ce8ff56af3226b8306f3aa1e7314b9b1110cdb
[quix0rs-gnu-social.git] / plugins / Irc / README
1 The IRC plugin allows users to send and receive notices over an IRC network.
2
3 Installation
4 ============
5 add "addPlugin('irc',
6     array('setting'=>'value', 'setting2'=>'value2', ...);"
7 to the bottom of your config.php
8
9 scripts/imdaemon.php included with StatusNet must be running. It will be started by
10 the plugin along with their other daemons when you run scripts/startdaemons.sh.
11 See the StatusNet README for more about queuing and daemons.
12
13 Settings
14 ========
15 host*: Hostname of IRC server
16 port: Port of IRC server (defaults to 6667)
17 username*: Username of bot
18 realname*: Real name of bot
19 nick*: Nickname of bot
20 password: Password
21 nickservpassword: NickServ password for identification
22 channels: Channels for bot to idle in
23 transporttype: Set to 'ssl' to enable SSL
24 encoding: Set to change encoding
25 regcheck: Check user's nicknames are registered, enabled by default, set to false to disable
26 regregexp: Override existing regexp matching response from NickServ if nick checked is registered.
27            Must contain a capturing group catching the nick
28 unregregexp: Override existing regexp matching response from NickServ if nick checked is unregistered
29              Must contain a capturing group catching the nick
30
31 * required
32
33 Example
34 =======
35 addPlugin('irc', array(
36     'host' => '...',
37     'username' => '...',
38     'realname' => '...',
39     'nick' => '...',
40     'channels' => array('#channel1', '#channel2')
41 ));
42