Advertisement
dezindzer

chat

Feb 16th, 2016
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. c = peripheral.wrap("back")
  2. while true do
  3.     event, player, msg = os.pullEvent("chat")
  4.     print(player, ": ", msg )
  5.     if msg == "Hi" then
  6.     c.say("Hi fag ")
  7.     c.say(player)
  8.     end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement