Merge pull request #39 from TiagoDanin/patch-1

FIX shout
This commit is contained in:
Drew 2016-02-25 11:01:16 -05:00
commit f5b8d2cbc6

View File

@ -25,11 +25,11 @@ local action = function(msg)
input = input:upper() input = input:upper()
local output = '' local output = ''
local inc = 0 local inc = 0
for match in input:gmatch('.') do for match in input:gmatch('([%z\1-\127\194-\244][\128-\191]*)') do
output = output .. match .. ' ' output = output .. match .. ' '
end end
output = output .. '\n' output = output .. '\n'
for match in input:sub(2):gmatch('.') do for match in input:sub(2):gmatch('([%z\1-\127\194-\244][\128-\191]*)') do
local spacing = '' local spacing = ''
for i = 1, inc do for i = 1, inc do
spacing = spacing .. ' ' spacing = spacing .. ' '