Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = peripheral.wrap("right")
- while true do
- event, player, message = os.pullEvent("chat") -- Now you got the event, which player, and which message.
- if message == "hi" then
- c.say("Hey buddy! Im ready to Tap!") -- if the message from chat is hi , the chatbox will say "Hi there!"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment