Advertisement
nikolay09

Untitled

Nov 27th, 2015
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. bosschannel = 10001 -- updates to boss on this
  2. clientchannel = 1001 -- command to clients on this
  3. local event,modemSide,senderChannel
  4. local replyChannel,msg,dist
  5.  
  6. local modem = peripheral.wrap("top")
  7. modem.open(bosschannel)
  8. modem.open(clientchannel)
  9. while true do
  10. local blob = {}
  11. blob.cmd="move"
  12. blob.data = {0,64,290}
  13. modem.transmit(clientchannel, bosschannel, textutils.serialize(blob))
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement