Show
Ignore:
Timestamp:
02/14/2008 12:20:37 AM (11 months ago)
Author:
Shadowhand
Message:

Updating Kirc.... I think I need to sleep.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/kirc/controllers/kirc.php

    r2042 r2043  
    55        public function index() 
    66        { 
    7                 // Yah, exciting! 
    8                 new ShIRC; 
     7                // Start a new bot 
     8                $bot = new Kirc('irc.freenode.net'); 
     9 
     10                // Enable debugging 
     11                $bog->log_level = 2; 
     12 
     13                // Login and join the default channel 
     14                $bot->login('koboto'); 
     15                $bot->join('#koboto'); 
     16 
     17                print_r($bot);exit; 
     18 
     19                // $bot->read(); 
     20 
     21                // $bot->send('PRIVMSG #koboto :Go away, Shadowhand!'); 
     22                // $bot->quit('hahahaha'); 
    923        } 
    1024