Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local channel = 11
- local ae = peripheral.find("appeng_me_tilecontroller")
- local wifi = peripheral.find("modem")
- if not wifi.isWireless() then wifi = nil end
- wifi.open(channel)
- while true do
- local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
- local list = ae.getJobList()
- wifi.transmit(channel,channel,list)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement