Advertisement
Guest User

BHF

a guest
Jul 24th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. while true do
  2.   print("Zu wem soll es gehen?\n")
  3.   input=read()
  4.  
  5.   if input=="dominik" then
  6.     redstone.setBundledOutput("right", colors.red)
  7.   end
  8.  
  9.   if input=="mario" then
  10.     redstone.setBundledOutput("right", colors.green)
  11.   end
  12.  
  13.   if input=="daniel" then
  14.     redstone.setBundledOutput("right", colors.orange)
  15.   end
  16.  
  17.   print("Weichen zu sind gesetzt\n")
  18.   sleep(2)
  19.   term.clear()
  20.   term.setCursorPos(1,1)
  21.  
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement