Advertisement
toxicfaceit

chatbox

Dec 19th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. local component = require ("component")
  2. local gpu = component.gpu
  3. local term = require("term")
  4. local names = {}
  5. local name,gl,pref
  6. term.clear()
  7. print("Привелегия: [1]Админ [2]Куратор [3]Главный Модератор [4]Ст.Модератор [5]Модератор [6]Помощник [7]Стажёр [8]MOD [9]Deluxe [10]Grand [11]Gold [12]Vip [13]Pro [t]ToxicHawk")
  8. local names = {["1"]="§7⓴ §8[§4Админ", ["2"]="§7⓬ §8[§4Куратор", ["3"]="§7❽ §8[§9Главный Модератор", ["4"]="§7❻ §8[§7Ст.Модератор", ["5"]="§7❹ §8[§4Модератор", ["6"]="§7❸ §8[§2Помощник", ["7"]="§7❷ §8[§eСтажёр", ["8"]="§8[§4Mod", ["9"]="§8[§1Deluxe", ["10"]="§8[§eGrand", ["11"]="§8[§2Gold", ["12"]="§8[§cVip", ["13"]="§8[§bPro", ["t"]="§e§l☢☢☢ §8[§e§lРадиоактивный§e"}
  9. pref = names[io.read()]
  10. print("Вы выбрали префикс: "..pref)
  11. if pref == "§e§l☢☢☢ §8[§e§lРадиоактивный§e" then
  12. name = "§e§l₮øჯίҡℋåωҡ"
  13. else
  14. print(" Введи ник: ")
  15. name = io.read()
  16. end
  17. local cb = component.chat
  18. cb.setName("§rL§7§o]".."§r "..pref.."§8")
  19.  
  20. while true do
  21. print("Текст:")
  22. text = io.read()
  23. if text == "gg" or text == "пп" then
  24. os.exit()
  25. elseif text == "bb" or text == "ии" then
  26.  
  27. else
  28. end
  29. cb.say(name.."§r: §".."f"..text)
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement