PHP Classes

PHP IRC Bot: IRC bot that responds to private messages

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 111 All time: 9,596 This week: 148Up
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: 1108160 in United States United States
Week rank: 91 Up11 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  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:111
This week:0
All time:9,596
This week:148Up