From 2e2f23c5c9faca43d64c5fe462955b577b6b8d4e Mon Sep 17 00:00:00 2001 From: Akamaru Date: Mon, 27 Mar 2017 17:03:08 +0200 Subject: [PATCH] kleiner fix --- miku/plugins/special.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miku/plugins/special.lua b/miku/plugins/special.lua index fcf5e98..7b4ac5f 100644 --- a/miku/plugins/special.lua +++ b/miku/plugins/special.lua @@ -125,11 +125,11 @@ 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("[Pp][Ee]") then + elseif msg_text:match("^[Pp][Ee]") then output = 'nis' - elseif msg_text:match("[Vv][Aa]") then + elseif msg_text:match("^[Vv][Aa]") then output = 'gina' - elseif msg_text:match("[Mm][Uu]") then + elseif msg_text:match("^[Mm][Uu]") then output = 'schi' elseif msg_text:match("/[Ii][Yy][Kk][Ww][Ii][Mm]") then output = '(¬‿¬)'