Advertisement
Guest User

talk2

a guest
Jul 29th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. local tArgs = {...}
  2. while true do
  3.   event, thing1, thing2 = os.pullEvent("rednet_message")
  4.   if thing1 == tArgs[1] then
  5.     print(thing2)
  6.   end
  7.   if thing2 == "bye" and thing1 == tArgs[1] then
  8.     break
  9.   end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement