Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- change = function(char)
- local response = http.get(
- "http://pastebin.com/raw.php?i=0ZGDdCwk"
- )
- while true do
- testchar = response.readLine()
- if char == testchar then
- for i=1, 5 do
- newchar = response.readLine()
- end
- response.close()
- break
- end
- end
- return newchar
- end
- print(change(read()))
- hey = read()
- for a=1, #hey do
- thenewchar = change(string.sub(hey, a, a))
- if a==1 then
- finalstring = thenewchar
- else
- finalstring = finalstring..thenewchar
- end
- end
- print(finalstring)
Advertisement
Add Comment
Please, Sign In to add comment