Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modem = peripheral.wrap("right")
- while true do
- modem.open(5295)
- event, s, ch, rch, msg, d = os.pullEvent("modem_message")
- if ch == 5295 and msg == "start platform" then
- shell.run("buildP")
- modem.transmit(5295, 5295, "platform done")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement