PHP Classes

PHP IRC Bot v2: Client bot to access IRC servers automatically

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 120 All time: 9,503 This week: 41Up
Version Licenses PHP version Categories
quoterbot 1.0Artistic License, B...3.0Networking, PHP 5, Chat
Description 

Author

This class implements a client bot to access IRC servers automatically.

It can connect to a given IRC server automatically with a given nick name or a derived nick name with a random text in case the chosen nick name is in use.

The bot can join given channels and perform several types of automated actions.

Currently it can add or del quotes and even and add and delete administators checking configuration for an administrator list.

Picture of Nick Daniels
  Performance   Level  
Name: Nick Daniels <contact>
Classes: 13 packages by
Country: United States United States
Age: 34
All time rank: 1107160 in United States United States
Week rank: 216 Up24 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

Example

<?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();


  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file example.php Example Example File
Plain text file QuoterBot.class.php Class QuoterBot Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:120
This week:0
All time:9,503
This week:41Up