Advertisement
Guest User

Tellraw

a guest
Feb 19th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1, 1)
  3. print("Please input message and variables")
  4. print("Input Message:")
  5. mess = read()
  6. print("Input Color:")
  7. color = read()
  8. print("Bold? True/False")
  9. bold = read()
  10. print("Input Target:")
  11. target = read()
  12. commands.exec('tellraw '..target..' {"text":"'..mess..'","bold":'..bold..',"color":"'..color..'"}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement