Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("What cable would you like to activate?")
- local input = read()
- print("How many times?")
- local Num = tonumber( read())
- for i=1,Num do
- rs.setBundledOutput("back", colors[input])
- sleep(0.2)
- rs.setBundledOutput("back", 0)
- sleep(0.2)
- end
- end
Add Comment
Please, Sign In to add comment