Advertisement
kurohimee

Untitled

Dec 21st, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. rednet.open("left")
  2. myThing={name="Test", n=2}
  3. sThing=textutils.serialize(myThing)
  4. rednet.send(3000, sThing)  -- assuming you have rednet open and receiverID has a useful value
  5. myCopy=textutils.unserialize(sThing)
  6. print(myCopy.name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement