diff --git a/miku/plugins/special.lua b/miku/plugins/special.lua index 5a9c27c..e1436b0 100644 --- a/miku/plugins/special.lua +++ b/miku/plugins/special.lua @@ -32,7 +32,9 @@ 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]!?$" + "^[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]" } @@ -81,7 +83,7 @@ function special:action(msg, config, matches) ┳━━━┳ Back. (╮┳┳)╮ಠ_ಠ (╯┳┳)╯︵ ಠ‾ಠ NEVER]] - elseif msg_text:match("[Mm]ö[Pp]?") or msg_text:match("[Mm][Ee][Ee][Pp]") then + elseif msg_text:match("^[Mm]ö[Pp]?$") or msg_text:match("[Mm][Ee][Ee][Pp]") then output = 'se' elseif msg_text:match("[Bb][Aa][Rr][Uu][Ss][Aa][Mm][Ii][Kk][Oo][Ss][Uu]") or msg_text:match("[Bb][Aa][Ll][Ss][Aa][Mm][Ii][Kk][Oo] [Ee][Ss][Ss][Ii][Gg]") then utilities.send_photo(msg.chat.id, download_to_file('http://img.ponywave.de/di/0SEY/barusamikosu.jpg'), nil, msg.message_id) @@ -122,6 +124,8 @@ 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)