Advertisement
Guest User

career

a guest
Jun 13th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. shell.run("lib1")
  2. shell.run("lib2")
  3. write("turn on color mode?(y/n):")
  4. col = read()
  5. if col == "n" then
  6.   write("x:")
  7.   x = read() + 0
  8.   write("z:")
  9.   m = read() + 0
  10.   write("height:")
  11.   y = read() + 0
  12. elseif col == "y" then
  13.   intro()
  14.   write("x:")
  15.   x = read() + 0
  16.   clearLine()
  17.   write("z:")
  18.   m = read() + 0
  19.   clearLine()
  20.   paintutils.drawLine(10, 7, 30, 7, colors.black)
  21.   paintutils.drawPixel(10, 7, colors.black)
  22.   write("height:")
  23.   y = read() + 0
  24.   outro()
  25. end
  26. height(x, m, y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement