Advertisement
Orom

updown

Aug 21st, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. while true do
  2.     input=" "
  3.     while input!="UP" or input!="DOWN" do
  4.         print("UP or DOWN?")
  5.         input=read()
  6.     end
  7.    
  8.     if input=="UP" then
  9.         turtle.up(54)
  10.     else if input=="DOWN" then
  11.         turtle.down(54)
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement