Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = peripheral.wrap("left")
- s = peripheral.wrap("right")
- while true do
- event, player, msg = os.pullEvent("chat")
- if msg == "Licorne" then
- s.speak("moi aussi")
- rs.setOutput("back",true)
- os.sleep(2)
- s.speak("Ja dore les licorne")
- os.sleep(2)
- s.speak("Encore Encore")
- else
- if msg == "salut" then
- c.say("A+ tout le mondes")
- else
- if msg == "non" then
- c.say("oui")
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement