Settings
========
-host*: => Hostname of IRC server
-port*: => Port of IRC server
-username*: => Username of bot
-realname*: => Real name of bot
-nick*: => Nickname of bot
+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
-transport: Set to 'ssl' to enable SSL
-encoding: Set to UTF8 to enable UTF8 encoding
+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
=======
addPlugin('irc', array(
'host' => '...',
- 'port' => '...',
'username' => '...',
'realname' => '...',
- 'nick' => '...'
+ 'nick' => '...',
+ 'channels' => array('#channel1', '#channel2')
));