Module:Chat: Difference between revisions

From Growtopia
Jump to navigationJump to search
>NekoPillow
mNo edit summary
>NekoPillow
mNo edit summary
Line 5: Line 5:
     str:gsub("`[0-9wobpqertas!@#$^&`]",function(c)
     str:gsub("`[0-9wobpqertas!@#$^&`]",function(c)
          
          
         return c
         return c:sub(2,2)
     end)
     end)
      
      

Revision as of 05:02, 24 January 2019

Documentation for this module may be created at Module:Chat/doc

local chat = {}

function chat.parse(frame)
    local str = frame.args[1]
    str:gsub("`[0-9wobpqertas!@#$^&`]",function(c)
        
        return c:sub(2,2)
    end)
    
    return str
end

return chat