Advertisement
hevohevo

ComputerCraft Tutorial: msg_sender_test1

Mar 12th, 2014
5,008
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. -- ##############################
  2. -- msg_sender test1
  3.  
  4. rednet.open("right")
  5.  
  6. local args = {...}
  7. local message = args[1]
  8. local receiver_id = tonumber(args[2])
  9.  
  10. rednet.send(receiver_id, message)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement