Advertisement
Guest User

Untitled

a guest
Jul 5th, 2021
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. options:
  2. highlightcolor: &e
  3. resetcolor: &7
  4. sound: true
  5.  
  6. on chat:
  7. if message contains "@":
  8. set {_x} to the text between '@' and ' ' in message
  9. set {_x} to {_x} parsed as player
  10. if {_x} is online:
  11. replace "@%{_x}%" in message with "{@highlightcolor}@%{_x}%{@resetcolor}"
  12. if {@sound} = true:
  13. play sound "entity.experience_orb.pickup" with volume 0.1 to {_x}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement