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 message split at "@"
- set {_x::*} to {_x::2} split at " "
- set {_x::1} to {_x::1} parsed as player
- if {_x::1} is online:
- replace "@%{_x::1}%" in message with "{@highlightcolor}@%{_x::1}%{@resetcolor}"
- if {@sound} = true:
- play sound "entity.experience_orb.pickup" with volume 0.1 to {_x::1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement