Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- print("Zu wem soll es gehen?\n")
- input=read()
- if input=="dominik" then
- redstone.setBundledOutput("right", colors.red)
- end
- if input=="mario" then
- redstone.setBundledOutput("right", colors.green)
- end
- if input=="daniel" then
- redstone.setBundledOutput("right", colors.orange)
- end
- print("Weichen zu sind gesetzt\n")
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement