LewdLamb

tsrehsehgs

Jan 17th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. chatbox=peripheral.wrap("top")
  2. while true do
  3. e,s,p,m=os.pullEvent("chat_message")
  4. -- where e = event
  5. -- s = side
  6. -- p = player
  7. -- m = message
  8. print("..p.. said "..m)
  9. end
  10.  
  11. -- chatbox.say("The event "..e.." on the "..s.." of the computer heard "..p.." say "..m)
Add Comment
Please, Sign In to add comment