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