-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
37 lines (30 loc) · 1.14 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
// General config
$_CONFIG['debug'] = true;
// Init configs
error_reporting(E_ALL); // Debugmode
ini_set('memory_limit', '256M'); // Set memory limit so something high.
ini_set('output_buffering', 0); // Disables output buffering.
ini_set('max_execution_time', 0); // Disables max execution time.
set_time_limit(0); // Disables time-limit
define('BASEPATH', dirname(__FILE__));
define('MODPATH', BASEPATH.'/modules');
chdir(BASEPATH);
// Server config
$_CONFIG['server'] = 'portlane.se.quakenet.org';
$_CONFIG['port'] = 6667;
// Bot config
$_CONFIG['nick'] = 'dhbot'; // Bot nickname
$_CONFIG['ident'] = 'irc'; // Bot identd
$_CONFIG['realname'] = 'irc'; // Bot realname
$_CONFIG['channels'] = '#dhw11,#dreamhack.date'; // Comma separated
#$_CONFIG['channels'] = '#dhtest'; // Comma separated
// Q-auth for Quakenet
$_CONFIG['qauth'] = true; // 1 = enabled
$_CONFIG['quser'] = 'dhw11'; // Q Auth username
$_CONFIG['qpass'] = ''; // Q Auth password
// Admin conf
$_CONFIG['admins'] = array(
//'nick!user@host' - marks nick at user@host as admin (to control the bot)
'[email protected]', // Jine
);