Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- highlightcolor: &e
- resetcolor: &7
- sound: true
- on chat:
- if message contains "@":
- set {_x} to the text between '@' and ' ' in message
- set {_x} to {_x} parsed as player
- if {_x} is online:
- replace "@%{_x}%" in message with "{@highlightcolor}@%{_x}%{@resetcolor}"
- if {@sound} = true:
- play sound "entity.experience_orb.pickup" with volume 0.1 to {_x}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement