Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local chatbox = component.chat_box
- local term = require("term")
- local msg = ""
- function say(text)
- msg = "§f[§4Mod§f] §cALEX§f: " .. text
- chatbox.say(msg)
- end
- while true do
- io.write("Message: ")
- say(term.read())
- --print("\n")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement