Advertisement
Guest User

Untitled

a guest
Jul 5th, 2021
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 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 message split at "@"
  9. set {_x::*} to {_x::2} split at " "
  10. set {_x::1} to {_x::1} parsed as player
  11. if {_x::1} is online:
  12. replace "@%{_x::1}%" in message with "{@highlightcolor}@%{_x::1}%{@resetcolor}"
  13. if {@sound} = true:
  14. play sound "entity.experience_orb.pickup" with volume 0.1 to {_x::1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement