Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/php
- <?php
- # config
- $config[0]['server'] = 'withg.us.to';
- $config[0]['port'] = 6667;
- $config[0]['nick'] = 'EeeZor';
- $config[0]['name'] = 'EeeZorBot';
- $config[0]['channels'] = array("#IRP");
- # defines
- global $MODULES;
- global $USERS;
- $MODULES = array();
- $USERS = array();
- # settings
- set_time_limit(0);
- ini_set('display_errors', 'on');
- # includes
- include('php/functions.php');
- include('classes/user.class.php');
- include('classes/channel.class.php');
- include('classes/server.class.php');
- include('classes/irc.class.php');
- # code
- if(!is_file('users.ini')){
- $f = fopen('users.ini','w');
- fwrite($f,'');
- fclose($f);
- }
- set_ini_array(parse_ini_file('users.ini',true),'USERS');
- loaddir('modules');
- flushActive();
- new irc($config);
- flushActive();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement