From 28198c3a1788578072a67cc6104aa18577b7db41 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Thu, 4 Aug 2016 17:45:45 -0700 Subject: Fixed dialogue issue "hi" appears in many different words, and it messes stuff up in the chat --- dialogue.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dialogue.lua') diff --git a/dialogue.lua b/dialogue.lua index 2ef2ee6..5624a97 100644 --- a/dialogue.lua +++ b/dialogue.lua @@ -155,7 +155,7 @@ function chatReply(m) "Doesn't matter, free game!" } }) - elseif string.find(m, "hello") ~= nil or string.find(m, "hi") ~= nil or string.find(m, "ayy") ~= nil or string.find(m, "hey") ~= nil then + elseif string.find(m, "hello") ~= nil or m == "hi" or string.find(m, "ayy") ~= nil or string.find(m, "hey") ~= nil or m == "hi!" or m == "hi." or m == "hi?" then table.insert(msg.r, { t = 1, r = { -- cgit