PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Nick Daniels   PHP IRC Bot v2   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example File
Class: PHP IRC Bot v2
Client bot to access IRC servers automatically
Author: By
Last change: .
Date: 8 years ago
Size: 487 bytes
 

Contents

Class file image Download
<?php

/** PHP IRC QuoterBot **
 */

$qbot = QuoterBot::getInst();

$qbot->config = array(
       
'serv' => 'localhost',
       
'port' => 6667,
       
'nick' => 'qbot',
       
'name' => 'qbot',
       
'chan' => array('#chats',
                    
'#test'),
       
'confs_data' => './config.db',
       
'quote_data' => './quotes.db',
       
'admin_data' => './admins.db',
       
'admin_logs' => './admin.log',
       
'admin_list' => array('Test1',
                    
'Test2@localhost',
                    
'Test2!user@localhost')
        );

$qbot->Init();