D-Bot/plugins/echo.php

5 lines
142 B
PHP
Raw Normal View History

2015-05-29 11:20:55 -05:00
<?php
PluginList("echo", "Echo what you typed.");
2015-06-26 01:14:14 -05:00
if (preg_match("/^".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
}