Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- --- Created by yannb.
- --- DateTime: 22/10/2021 02:36
- ---
- local manip = peripheral.wrap("top")
- manip.getDocs()
- manip.listModules()
- if manip.hasModule("plethora:chat") == true then
- print("Setup Correctly")
- end
- while true do
- local _, player, message, uuid = os.pullEvent("chat_message")
- if message:find("[Hh]ello") then
- print(player .. "said hello!")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement