D-Bot/plugins/echo.php
2015-06-30 14:11:15 +08:00

5 lines
159 B
PHP

<?php
PluginList("echo", "Echo what you typed.");
if (preg_match("/^".preg_quote(TAG, '/')."echo (.*)$/", $text, $matches)) {
$BOT->msg($from, $matches[1]);
}