2015-05-29 11:20:55 -05:00
|
|
|
<?php
|
2015-05-29 12:30:08 -05:00
|
|
|
PluginList("help", "Ask for help");
|
2015-06-26 01:14:14 -05:00
|
|
|
if (preg_match("/^".TAG."help$/", $text)) {
|
2015-05-31 04:30:05 -05:00
|
|
|
$plugin_list = HELP_BEGIN."\n";
|
2015-05-29 11:20:55 -05:00
|
|
|
foreach ($plugins as $value) {
|
|
|
|
$plugin_list .= "\n".$value;
|
|
|
|
}
|
2015-05-31 04:30:05 -05:00
|
|
|
$plugin_list .= "\n\n".HELP_END;
|
2015-06-26 00:59:37 -05:00
|
|
|
$BOT->msg($from, $plugin_list);
|
2015-05-29 11:20:55 -05:00
|
|
|
}
|