config-sample.php
author Dan
Mon, 05 Jan 2009 22:29:36 -0500
changeset 44 73f74d395f95
parent 8 0acb8d9a3194
child 51 508400fc5282
permissions -rw-r--r--
Added theme support. Oh yeah, you can customize graphs using graph_{line,bar}.def.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     1
<?php
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     2
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     3
// Rename this to config.php and run php ./enanobot.php to start.
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     4
8
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents: 6
diff changeset
     5
$server = 'irc.freenode.net';
0
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     6
$nick = 'EnanoBot';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     7
$pass = '';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     8
$name = 'Enano CMS logging/message bot';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     9
$user = 'enano';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    10
$privileged_list = array('your', 'nick', 'list', 'here');
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    11
$mysql_host = 'localhost';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    12
$mysql_user = '';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    13
$mysql_pass = '';
2
c474904ed707 Moved db_name to config.php; added !snippets virtual snippet that lists all snippet codes in database; abstracted database query and error checking code
Dan
parents: 0
diff changeset
    14
$mysql_dbname = '';
6
a802bb5b3e08 Made the channel list completely dynamic now
Dan
parents: 2
diff changeset
    15
$channels = array('#mychan', '#yourchan', '#4chan');
0
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    16
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    17
?>