Changeset 2043 for trunk/modules/kirc/controllers/kirc.php
- Timestamp:
- 02/14/2008 12:20:37 AM (11 months ago)
- Files:
-
- 1 modified
-
trunk/modules/kirc/controllers/kirc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kirc/controllers/kirc.php
r2042 r2043 5 5 public function index() 6 6 { 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'); 9 23 } 10 24
