Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("ByteFawk Simulator Maker Simulator")
- print("Workspace: ")
- print("print(\" + ")
- local tLines = {}
- while true do
- local line = read()
- if line ~= "~ stop" then
- tLines[#tLines+1] = line
- else
- break
- end
- end
- print(" + \")")
- fs.delete("generated_file")
- theFile = fs.open("generated_file", "w")
- theFile.write( ("= < " ..math.random(1,309) ).. "\n" )
- for i=1,#tLines do
- for ix=1,#tLines[i] do
- theFile.write("- > " ..string.byte( string.sub( tLines[i], ix, ix ) ).. "\n" )
- end
- theFile.write("= > " ..math.random(1,300).. "\n" )
- end
- theFile.write("= > " ..math.random(1,300).. "\n" )
- theFile.close()
Advertisement
Add Comment
Please, Sign In to add comment