This commit is contained in:
Akamaru 2016-09-19 16:35:30 +02:00
parent e5f08801ab
commit 7a17d86566

View File

@ -23,7 +23,8 @@ special.triggers = {
"^[Yy][Oo][Ll][Oo]$",
"[Ii] [Ww][Ii][Ss][Hh] [Ss][Qq][Uu][Ii][Dd][Ss] [Ww][Ee][Rr][Ee] [Rr][Ee][Aa][Ll]",
"^/[Kk][Ii][Ll][Ll] (.*)",
"^[Ii][Nn][Ll][Oo][Vv][Ee]$",
"[Mm]ö[Dd][Cc][Hh][Ee][Nn]",
"[Mm]Ö[Dd][Cc][Hh][Ee][Nn]",
"^[Pp][Ee]$",
"^[Vv][Aa]$",
"^[Mm][Uu]$",
@ -32,9 +33,7 @@ special.triggers = {
"^%(\\$",
"^/[Ss][Cc][Hh][Ee][Ll][Ll][Ee]$",
"^[Pp][Ii][Nn][Gg]$",
"^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$",
"[Mm]ö[Dd][Cc][Hh][Ee][Nn]",
"[Mm]Ö[Dd][Cc][Hh][Ee][Nn]"
"^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$"
}
@ -106,6 +105,8 @@ function special:action(msg, config, matches)
return
elseif msg_text:match("[Kk][Ii][Ll][Ll]") then
output = user_name..' tötet '..matches[1]
elseif msg_text:match("[Mm]ö[Dd][Cc][Hh][Ee][Nn]") or msg_text:match("[Mm]Ö[Dd][Cc][Hh][Ee][Nn]") then
output = 'Es heißt MÄDCHEN!'
elseif msg_text:match("[Pp][Ee]") then
output = 'nis'
elseif msg_text:match("[Vv][Aa]") then
@ -124,8 +125,6 @@ function special:action(msg, config, matches)
output = 'Pong'
elseif msg_text:match("^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$") then
output = 'Aber Funny!'
elseif msg_text:match("[Mm]ö[Dd][Cc][Hh][Ee][Nn]") or msg_text:match("[Mm]Ö[Dd][Cc][Hh][Ee][Nn]") then
output = 'Es heißt MÄDCHEN!'
end
utilities.send_reply(msg, output)