History of LuluBot

{maketoc}
!Introduction
LuluBot is an irc bot written in PHP. Its role is to link irc activity to web visibility : logging, requests and queries, interaction, modification of web content from irc, etc ..

It also include all well-known goodies that we can expect from a modern ircbot : google search, dictionnary, fortune cookies, random behaviour, social and protocol dealing. That bot can also become a FOAF relay, and deal with human protocol in irc space.

LuluBot is a rewritting of TikiBot [http://tikiwiki.org/TikiBot] under LGPL licence with wider ability to interact with the web application.

mose at mose.fr

!Install
# Extract the source code into a directory not accessible through the web server. If your web application lives at ''/home/htdocs/mywebapp/'', you could place LuluBot in ''/home/htdocs/lulubot/'' for example.
# Open __conf.php__ and create/modify:{CODE()}#$conf['server'] = 'irc.freenode.net'; // your irc server
#$conf['port'] = 6667; // your irc port
$conf['nick'] = 'lulubot'; // your irc nick
$conf['join'][] = '#bitweaver'; // your irc channel
{CODE}You can add multiple ''join'' channel lines. The first two settings are default values.
# By default, a number of ''skills'' will be enabled, which can be seen in __conf.php__. You configure custom skills from here, for example:{CODE()}$conf['skills'][] = 'bitweaver';
define('BITWEAVER_NAME', 'tp.o');
define('BITWEAVER_PATH', '/home/htdocs/mywebapp/'); // don't forget ending slash
define('BITWEAVER_URL', 'http://www.bitweaver.org/'); // don't forget ending slash{CODE}
# Once complete, you execute LuluBot. Enter __php lulubot_go.php__ one the command line.

!Skills
!!nickometer
* outputs the lame factor for a given nickname.
* syntax: __,n__ ''<nick>''
<mose> ,n huhu
<lulubot8626> mose: 'huhu' is 0% lame
!!faq
* simple thesaurus of keywords associated with definitions.
* syntax: __,f__ ''<keyword>''
<mose> ,f mose
<lulu> mose: mose = geek of all trades
* syntax: __,f-__ ''<keyword>''
-=*** needs operator status ***=-
<mose> ,f- mose
<lulu> mose: okay I removed mose.
* syntax: __,f+__ ''<keyword> <definition>''
-=*** needs operator status ***=-
<mose> ,f+ mose geek of all trades
<lulu> mose: okay I stored mose.
__Note:__ faqs are stored in skills/faq/faq.#channel.txt files
!!fortune
* the traditional wisdom random dispatcher.
* syntax: __,o__
<mose> ,o
<lulu> mose: BOFH excuse #437: crop circles in the corn shell
!!google
* wellknown search engine at http://google.com
* syntax: __,g__ ''<words>''
<mose> ,g lulu books
<lulu> mose: Books: Books : Lulu - url: http://books.lulu.com/browse/
!!php
* gives syntax of php functions.
* syntax: __,php__ ''<function>''
<mose> ,php strtok
<lulu> mose: strtok (string arg1, string arg2) - Tokenize string
- http://php.net/strtok
!!translate
* Translates strings using babelfish.
* syntax: __,tr__ ''<lang_lang> <anything>''
<mose> ,tr en_fr hello kids
<lulu> mose: (en_fr) hello kids = bonjour gosses
Available languages :
en_zh, en_fr, en_de, en_it, en_ja, en_ko, en_pt, en_es,
zh_en, fr_en, fr_de, de_en, de_fr, it_en, ja_en, ko_en,
pt_en, ru_en, es_en
!!tikiwiki
* provide the ability to communicate with a local tikiwiki.
* syntax: __,tw__ ''<command> <parameters>''
<mose> ,tw help
<lulu> mose: [,tw help] who stats rpage dir find

!!bitweaver
* provide the ability to communicate with a local bitweaver.
* syntax: __,tp__ ''<command> <parameters>''
<mose> ,tp help
<lulu> mose: [,tp help] who stats rpage dir find

Send new skills to mose at mose . fr
Page History
Date/CommentUserIPVersion
04 Jul 2004 (07:59 UTC)
Stephan Borg218.214.1.11310
Current • Source
Stephan Borg218.214.1.1139
View • Compare • Difference • Source
Stephan Borg218.214.1.1138
View • Compare • Difference • Source
Stephan Borg218.214.1.1137
View • Compare • Difference • Source
Stephan Borg218.214.1.1136
View • Compare • Difference • Source
Stephan Borg218.214.1.1135
View • Compare • Difference • Source
Stephan Borg218.214.1.1134
View • Compare • Difference • Source
Stephan Borg218.214.1.1133
View • Compare • Difference • Source
Stephan Borg218.214.1.1132
View • Compare • Difference • Source