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() 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 .. ' '