Big Change about Plugins

This commit is contained in:
Denny Dai
2015-06-30 15:05:22 +08:00
parent 3cc20a8a89
commit f94b5403f4
8 changed files with 38 additions and 32 deletions
+2 -4
View File
@@ -1,5 +1,3 @@
<?php
PluginList("echo", "Echo what you typed.");
if (preg_match("/^".preg_quote(TAG, '/')."echo (.*)$/", $text, $matches)) {
$BOT->msg($from, $matches[1]);
}
PluginSet("Echo what you typed.");
$BOT->msg($plugin_sendto, $plugin_text);