D-Bot/plugins/echo.php
2015-06-26 13:59:37 +08:00

5 lines
150 B
PHP

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