D-Bot/plugins/echo.php

5 lines
159 B
PHP
Raw Normal View History

2015-05-29 11:20:55 -05:00
<?php
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
}