on chat:
loop all players:
if message contains "%loop-player%":
replace all "%loop-player%" with "&6@%loop-player%&r" in message
play sound "ENTITY_EXPERIENCE_ORB_PICKUP" to loop-player
send loop-player title "&c%player%" with subtitle "&cMentioned you!" for 5 seconds
But everything works except for one thing. In the chat it doesnt replace Name with @Name like how its meant to.
Question
Lapzzo
I made this mention skript:
on chat:
loop all players:
if message contains "%loop-player%":
replace all "%loop-player%" with "&6@%loop-player%&r" in message
play sound "ENTITY_EXPERIENCE_ORB_PICKUP" to loop-player
send loop-player title "&c%player%" with subtitle "&cMentioned you!" for 5 seconds
But everything works except for one thing. In the chat it doesnt replace Name with @Name like how its meant to.
Any help?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now