Skiret

spy

Nov 29th, 2020
586
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local chat = require("component").chat
  2. chat.setName("§6L§7§o")
  3. local name = 'Locher'
  4. require("term").clear()
  5. local tmp = tostring(...)
  6. if tmp ~= '' then
  7.   name = tmp
  8. end
  9.  
  10. while true do
  11.   io.write("> ")
  12.   local msg = io.read()
  13.   if msg then
  14.     chat.say("§7"..name..'§7: §q' .. msg)
  15.   end
  16. end
RAW Paste Data