2010-07-04 18:24:22 +01: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
|
|
|
|
========
|
2010-07-09 10:02:50 +01:00
|
|
|
host*: Hostname of IRC server
|
2010-07-20 19:16:59 +01:00
|
|
|
port: Port of IRC server (defaults to 6667)
|
2010-07-09 10:02:50 +01:00
|
|
|
username*: Username of bot
|
|
|
|
realname*: Real name of bot
|
|
|
|
nick*: Nickname of bot
|
2010-07-04 18:24:22 +01:00
|
|
|
password: Password
|
2010-07-09 10:02:50 +01:00
|
|
|
nickservpassword: NickServ password for identification
|
|
|
|
channels: Channels for bot to idle in
|
2010-07-20 19:16:59 +01:00
|
|
|
transporttype: Set to 'ssl' to enable SSL
|
2010-07-04 18:24:22 +01:00
|
|
|
encoding: Set to UTF8 to enable UTF8 encoding
|
|
|
|
|
|
|
|
* required
|
|
|
|
|
|
|
|
Example
|
|
|
|
=======
|
|
|
|
addPlugin('irc', array(
|
|
|
|
'host' => '...',
|
|
|
|
'username' => '...',
|
|
|
|
'realname' => '...',
|
2010-07-09 10:02:50 +01:00
|
|
|
'nick' => '...',
|
|
|
|
'channels' => array('#channel1', '#channel2')
|
2010-07-04 18:24:22 +01:00
|
|
|
));
|
|
|
|
|