Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- rednet.open("top") --enable modem on the right side of the PC
- rednet.broadcast("internet;getmyip")
- print("Waiting for Response ...")
- id,message = rednet.receive()
- print(message)
- print("press enter key to continue")
- local a = read()
- term.clear()
- term.setCursorPos(1,1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement