add /echo

This commit is contained in:
jomo
2014-07-09 00:18:26 +02:00
parent 31112f95a9
commit c34c533dca

View File

@@ -104,3 +104,11 @@ def onPluginversionsCommand(sender, args):
for plugin in plugins:
msg(sender, "&6" + plugin.getName() + "&r: &e" + plugin.getDescription().getVersion())
return True
#
# /echo - essentials echo sucks and prints mail alerts sometimes
#
@hook.command("echo")
def onEchoCommand(sender, args):
msg(sender, " ".join(args).replace("\\n", "\n"))