Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term=require "term"
- input = term.read():lower()
- t = {}
- runetable = {a="ᚨ",b="ᛑ",c="ᛍ",d="ᛑ",e="ᛂ",f="ᚠ",g="ᚵ",h="ᚻ",i="ᛁ",j="ᛂ",k="ᚲ",l="ᛚ",m="ᛘ",n="ᚾ",o="ᚮ",p="ᛈ",q="ᛩ",r="ᚱ",s="ᛊ",t="ᛏ",u="ᚢ",v="ᚡ",w="ᚥ",x="ᛪ",y="ᚤ",z="ᛎ"}
- for i = 1, input:len() do
- table.insert(t,input:sub(i,i))
- end
- t2 = {}
- for i = 1, #t do
- cc = t[i]
- if runetable[cc] ~= nil then
- t2[i] = runetable[cc]
- else
- t2[i] = cc
- end
- end
- s=""
- for k,v in ipairs(t2) do
- s=s..v
- end
- print(s)
Advertisement
Add Comment
Please, Sign In to add comment