MattyNJ Posted February 22, 2020 Share Posted February 22, 2020 Hi, I want to have a skript where if you say a players name in chat it will turn yellow. How would I see if something in the message was a player. Here is my skript on chat: if message contains "UNKNOWN": replace "UNKNOWN" with "&eUNKNOWN&7" in message The unknown is the part where I would but the thing for the player. Link to comment Share on other sites More sharing options...
Preludial Posted February 23, 2020 Share Posted February 23, 2020 use loop all playterse hello am preludal but u can call me preludail. thanks forwatching my signature Link to comment Share on other sites More sharing options...
_iZ_ Posted February 27, 2020 Share Posted February 27, 2020 (edited) on chat: cancel event loop all players: replace all "%loop-player%" in message with "&e%loop-player%&r" send "%colored player's nick name%&r: %message%" to player Feel free to message on discord if this doesn't work. Also, you can change the chat format in this script. Note: - %colored player's nick name% includes prefix, player's name and suffix. Edited February 27, 2020 by izzzzthewiz Typo » IGN: _iZ_ « » Joined: 12/18/2016 « » VIP: 1/13/2018 « » Helper: 1/29/2021 « » [<3]: 5/8/2021 « » Skript dev « » Discord: iZz#0420 « React to this if I was helpful, found this interesting, or you're just nice Link to comment Share on other sites More sharing options...
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