2015-05-30 00:20:55 +08:00
|
|
|
<?php
|
2015-05-30 01:30:08 +08:00
|
|
|
PluginList("echo", "Echo what you typed.");
|
2015-06-26 14:14:14 +08:00
|
|
|
if (preg_match("/^".TAG."echo (.*)$/", $text, $matches)) {
|
2015-06-26 13:59:37 +08:00
|
|
|
$BOT->msg($from, $matches[1]);
|
2015-05-30 00:20:55 +08:00
|
|
|
}
|