Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("lib1")
- shell.run("lib2")
- write("turn on color mode?(y/n):")
- col = read()
- if col == "n" then
- write("x:")
- x = read() + 0
- write("z:")
- m = read() + 0
- write("height:")
- y = read() + 0
- elseif col == "y" then
- intro()
- write("x:")
- x = read() + 0
- clearLine()
- write("z:")
- m = read() + 0
- clearLine()
- paintutils.drawLine(10, 7, 30, 7, colors.black)
- paintutils.drawPixel(10, 7, colors.black)
- write("height:")
- y = read() + 0
- outro()
- end
- height(x, m, y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement