Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- define('MAINDIR',dirname(__FILE__) . '/');// you can specify MAINDIR . path to file if not loading properly.
- require "TinychatBot/TinychatBotServer.class.php";
- ini_set("memory_limit","128M");//haha you need what?
- set_time_limit(0);//haha this is infinite timeout fag.
- date_default_timezone_set("America/Chicago"); // For all time() uses, otherwise it goes mad.
- //original code by notorious, extended by appleton, refactored by jamesalot,
- //tweaked and refactored some more by legend. FUCK YOU BUNCH OF DRUNKS
- error_log("-- " . "starting server");
- //**SETTINGS** cmd prompt php TinychatBot.php username password botname roomname tempmods
- $siteurl = "http://tinychat.com/";
- $server = new ChatClient();
- $server->runServer($siteurl, $argv[1],$argv[2],$argv[3], "$argv[4]",array("$argv[1]"));
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement