D-Bot/plugins/echo.php
2015-06-26 14:14:14 +08:00

5 lines
142 B
PHP

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