This commit is contained in:
Akamaru 2015-12-12 23:26:16 +01:00
parent 314a9a8b6a
commit ab2f9da00c
1 changed files with 6 additions and 2 deletions

View File

@ -116,13 +116,16 @@ function run(msg, matches)
elseif string.match(msg.text, "[Vv][Aa]") then elseif string.match(msg.text, "[Vv][Aa]") then
return 'gina' return 'gina'
elseif string.match(msg.text, "[Mm][Uu]") then
return 'schi'
end end
end end
return { return {
description = "Ein Plugin mit nutzlosen Befehlen", description = "Ein Plugin mit nutzlosen Befehlen",
usage = {""}, usage = {""},
patterns = {"^[Rr][Ii][Cc][Hh] [Bb][Ii][Tt][Cc][Hh]$", patterns = {"[Rr][Ii][Cc][Hh] [Bb][Ii][Tt][Cc][Hh]",
"^#[Oo][Ll][Dd]$", "^#[Oo][Ll][Dd]$",
"^[Nn][Yy][Uu]$", "^[Nn][Yy][Uu]$",
"^[Nn][Oo][Pp][Ee].[Aa][Vv][Ii]$", "^[Nn][Oo][Pp][Ee].[Aa][Vv][Ii]$",
@ -153,7 +156,8 @@ return {
"^/[Kk][Ii][Ll][Ll] (.*)", "^/[Kk][Ii][Ll][Ll] (.*)",
"^[Ii][Nn][Ll][Oo][Vv][Ee]$", "^[Ii][Nn][Ll][Oo][Vv][Ee]$",
"^[Pp][Ee]$", "^[Pp][Ee]$",
"^[Vv][Aa]$" "^[Vv][Aa]$",
"^[Mm][Uu]$"
}, },
run = run run = run
} }