Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("right") -- Wraps the modem on the right side.
- print("Bienvenu dans le proggrame client des robot MK1")
- sleep(0.5)
- print("Assurez vous d'être à l'étape 1 sur la turtle avant de continuer")
- print("Choisir un nom pour la tortue (seulement lettre et nombre)")
- modem.transmit(3, 1, "Ping," ... string.match(read(), "%W") )
- received = ""
- local event, modemSide, senderChannel,
- replyChannel, message, senderDistance = os.pullEvent("modem_message")
- peripheral.call("right", "transmit", 3, 1, "This will also work!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement