FIX shout

This commit is contained in:
Tiago Danin 2016-02-25 12:15:00 -03:00
parent ffccdd8667
commit 99e7449395

View File

@ -25,11 +25,11 @@ local action = function(msg)
input = input:upper()
local output = ''
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 .. ' '
end
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 = ''
for i = 1, inc do
spacing = spacing .. ' '