diff options
| author | 1029chris <1029chris@gmail.com> | 2016-08-04 17:45:45 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-08-04 17:45:45 -0700 |
| commit | 28198c3a1788578072a67cc6104aa18577b7db41 (patch) | |
| tree | 2eb735076afca3493266a043a5f7cd54031a870d /dialogue.lua | |
| parent | d9e008d0af00198f9f2272d456add4bffe6f1a9a (diff) | |
Fixed dialogue issue
"hi" appears in many different words, and it messes stuff up in the chat
Diffstat (limited to 'dialogue.lua')
| -rw-r--r-- | dialogue.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |
