Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("back")
- local input = 0
- while(input ~= "exit") do
- term.setCursorPos(1, 1)
- term.clear()
- term.write("Enter a command: ")
- input = read()
- modem.transmit(66, 0, input)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement