• Hello! Does anyone know how to convert this please ?
    1 replies, posted
Hey! I would like to convert to letter this but I don't really know how to: \77 \77\121 \77\121\32 \77\121\32\83 \77\121\32\83\116 \77\121\32\83\116\114 \77\121\32\83\116\114\105 \77\121\32\83\116\114\105\110 \77\121\32\83\116\114\105\110\103 \77\121\32\83\116\114\105\110\103\32 \77\121\32\83\116\114\105\110\103\32\104 \77\121\32\83\116\114\105\110\103\32\104\101 \77\121\32\83\116\114\105\110\103\32\104\101\114 \77\121\32\83\116\114\105\110\103\32\104\101\114\101 Which gives "My String here" The code: local Scripttt = "My String here" local buffff = "" for v = 1,string.len(Scripttt) do buffff = buffff..'\\'..string.byte(Scripttt,v) print(buffff) end I hope you could help me! Thank you for reading : ) .
To split it into some smaller steps, you should work towards the following: Creating a list/array of each integer after every blackslash Somehow converting this integer into a character by means of some function Create a new string in buffff just like in your previous code Shouldn't be too hard
Sorry, you need to Log In to post a reply to this thread.