new plugin me.lua

This commit is contained in:
Akamaru 2015-08-02 22:06:28 +02:00
parent e3ecec91c1
commit 18f1966138
1 changed files with 13 additions and 0 deletions

13
plugins/me.lua Normal file
View File

@ -0,0 +1,13 @@
function run(msg, matches)
local text = matches[1]
local user_name = get_name(msg)
return user_name .. ' ' .. text
end
return {
description = "",
usage = {""},
patterns = {"^/me (.*)$"},
run = run
}
--by Akamaru [https://ponywave.de]