Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if wifiSide == nil then
- click = draw.optionBox("Error", "Please attach a wireless modem.")
- if click == "button1" then
- return
- end
- end
- rednet.open(wifiSide)
- os.loadAPI("OS/API/draw")
- draw.inputBox("Select turtle ID:")
- input = read()
- id = tonumber(input)
- draw.inputBox("Select program:")
- input = read()
- program = tostring(input)
- click = draw.optionBox("Confirm.", "Send "..program.." to Turtle "..id.."?", "Ok", "Cancel")
- if click == "button1" then
- rednet.send(id, program)
- else
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement