Installation
miamibc edited this page Sep 14, 2010
·
1 revision
Extract archive into your home folder
$ tar xzvf joker.tar.gz
or clone the git
$ git clone git@github.com:miamibc/joker-irc-bot.git
Edit joker.php. Change nick of bot, add altnicks, admins and channels to autojoin
$joker->me = 'BC^joker';
$joker->altnicks = array( 'BC^j0k3r', 'BC^jo' ); // used by Startup plugin to set nick
$joker->autojoin = array( '#blackcrystal' ); // used by Startup plugin to join channels
$joker->admins = array( 'BC^miami' ); // used by admin plugin
Uncomment plugins you want to be activated on start
$joker->load('HelloWorld'); // Hello world application
$joker->load('PrivateTalk'); // Private talk
$joker->load('TimerExample'); // Timer usage example
$joker->load('Temp'); // Google weather
Change server address where to connect, or leave it as is
$joker->connect('irc.quakenet.org',6667);
Start the bot in console
$ php -f joker.php