|
!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
|
+# 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'][] = '#tikipro'; // your irc channel
|
-{CODE}You can add multiple ''join'' channel lines.
|
-# 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'][] = 'tikipro';
|
-define('TIKIPRO_NAME', 'tp.o');
|
-define('TIKIPRO_PATH', '/home/htdocs/mywebapp/'); // don't forget ending slash
|
-define('TIKIPRO_URL', 'http://www.tikipro.org/'); // don't forget ending slash{CODE}
|
-# To executer LuluBot, enter __php lulubot_go.php__. |
+$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 |