source: spip-zone/_acotes_/irc/phergie/config.edgard.php @ 54265

Last change on this file since 54265 was 54265, checked in by ben.spip@…, 8 years ago

EdgardII

File size: 3.7 KB
Line 
1<?php
2
3return array(
4
5    // One array per connection, pretty self-explanatory
6    'connections' => array(
7        // Ex: All connection info for the Freenode network
8        array(
9            'host' => 'irc.freenode.net',
10            'port' => 6667,
11            'username' => 'EdgardII',
12            'realname' => 'EdgardII',
13            'nick' => 'EdgardII',
14            // 'password' => 'password goes here if needed',
15            // 'transport' => 'ssl', // uncomment to connect using SSL
16            'encoding' => 'UTF-8', // uncomment if using UTF-8
17        )
18    ),
19
20    'processor' => 'async',
21    'processor.options' => array('usec' => 200000),
22    // Time zone. See: http://www.php.net/manual/en/timezones.php
23    'timezone' => 'UTC',
24
25    // Whitelist of plugins to load
26    'plugins' => array(
27        'Daddy',
28        'Edgard',
29        // To enable a plugin, simply add a string to this array containing
30        // the short name of the plugin as shown below.
31
32        // 'ShortPluginName',
33
34        // Below is an example of enabling the AutoJoin plugin, for which
35        // the corresponding PEAR package is Phergie_Plugin_AutoJoin. This
36        // plugin allows you to set a list of channels in this configuration
37        // file that the bot will automatically join when it connects to a
38        // server. If you'd like to enable this plugin, simply install it,
39        // uncomment the line below, and set a value for the setting
40        // autojoin.channels (examples for which are located further down in
41        // this file).
42
43         'AutoJoin',
44
45        // A few other recommended plugins:
46
47        // Servers randomly send PING events to clients to ensure that
48        // they're still connected and will eventually terminate the
49
50        // connection if a PONG response is not received. The Pong plugin
51        // handles sending these responses.
52
53         'Pong',
54
55        // It's sometimes difficult to distinguish between a lack of
56        // activity on a server and the client not receiving data even
57        // though a connection remains open. The Ping plugin performs a self
58        // CTCP PING sporadically to ensure that its connection is still
59        // functioning and, if not, terminates the bot.
60
61        // 'Ping',
62
63        // Sometimes it's desirable to have the bot disconnect gracefully
64        // when issued a command to do so via a PRIVMSG event. The Quit
65        // plugin implements this using the Command plugin to intercept the
66        // command.
67
68        // 'Quit',
69    ),
70
71    // If set to true, this allows any plugin dependencies for plugins
72    // listed in the 'plugins' option to be loaded even if they are not
73    // explicitly included in that list
74    'plugins.autoload' => true,
75
76    // Enables shell output describing bot events via Phergie_Ui_Console
77    'ui.enabled' => true,
78
79    // Examples of supported values for autojoins.channel:
80//    'autojoin.channels' => '#testing_123',
81    'autojoin.channels' => '#spip',
82    // 'autojoin.channels' => array('#channel1', '#channel2'),
83    // 'autojoin.channels' => array(
84    //                            'host1' => '#channel1,#channel2',
85    //                            'host2' => array('#channel3', '#channel4')
86    //                        ),
87
88    // Examples of setting values for Ping plugin settings
89
90    // This is the amount of time in seconds that the Ping plugin will wait
91    // to receive an event from the server before it initiates a self-ping
92
93    // 'ping.event' => 300, // 5 minutes
94
95    // This is the amount of time in seconds that the Ping plugin will wait
96    // following a self-ping attempt before it assumes that a response will
97    // never be received and terminates the connection
98
99    // 'ping.ping' => 10, // 10 seconds
100
101);
Note: See TracBrowser for help on using the repository browser.