Big Change about Plugins
This commit is contained in:
+2
-4
@@ -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);
|
||||
Reference in New Issue
Block a user