PHP Classes

PHP IRC Bot: IRC bot that responds to private messages

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: 112 All time: 9,612 This week: 560Up
Version License PHP version Categories
fusionbot 1.0GNU General Publi...5Networking, PHP 5, Chat
Description 

Author

This class implements an IRC bot that responds to private messages.

It can connect to a given IRC server and identify with a given nick name. The class will bump the nick name in case it was already in use.

The class can automatically respond to private messages with test commands.

If the connection is lost, it can retry connecting to the IRC server.

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: 227 Up23 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

Example

<?php

define
('ROOT_DIR', __DIR__);

require
'FusionBot.class.php';
$bot = new FusionBot;
$bot->server = 'localhost';
$bot->port = 6667;
$bot->nick = 'BotNick';
$bot->name = 'BotName';
$bot->channel= '#botchan';
$bot->run();


  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file example.php Example FusionBot IRC Skeleton Example
Plain text file FusionBot.class.php Class FusionBot IRC Skeleton 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:112
This week:0
All time:9,612
This week:560Up