]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - README
bc45688f1e6bc3048d90f708bb2679eb4d76ff1a
[quix0rs-gnu-social.git] / 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 nickservidentifyregexp: Override existing regexp matching request for identification from NickServ
23 channels: Channels for bot to idle in
24 transporttype: Set to 'ssl' to enable SSL
25 encoding: Set to change encoding
26 regcheck: Check user's nicknames are registered, enabled by default, set to false to disable
27 regregexp: Override existing regexp matching response from NickServ if nick checked is registered.
28            Must contain a capturing group catching the nick
29 unregregexp: Override existing regexp matching response from NickServ if nick checked is unregistered
30              Must contain a capturing group catching the nick
31
32 * required
33
34 Example
35 =======
36 addPlugin('irc', array(
37     'host' => '...',
38     'username' => '...',
39     'realname' => '...',
40     'nick' => '...',
41     'channels' => array('#channel1', '#channel2')
42 ));
43