joeyy29 Posted February 18, 2021 Share Posted February 18, 2021 does anyone know how to make a skript where when you type in chat a players name it plays a sound to that players name thats being said in chat like pings them how discord pings just ingame?? Link to comment Share on other sites More sharing options...
StarBunnie Posted February 18, 2021 Share Posted February 18, 2021 (edited) on chat: loop all players: if message contains "%loop-player%": play "entity.firework_rocket.blast" to loop-player exit I think this should work if not hit me up again Edited February 18, 2021 by Starshinex3 Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< Link to comment Share on other sites More sharing options...
joeyy29 Posted February 18, 2021 Author Share Posted February 18, 2021 so my ign is 2321 and how do i make it say &3*2321* like put * around it Link to comment Share on other sites More sharing options...
StarBunnie Posted February 18, 2021 Share Posted February 18, 2021 I assume only the player actually mentioned should see it right? on chat: cancel event set {_m} to message loop all players: if message contains "%loop-player%": replace "%loop-player%" in {_m} with "&3*%loop-player%*" send "%player's prefix% &7%player% &f> %{_m}%" to loop-player else: send "%player's prefix% &7%player% &f> %{_m}%" to loop-player Uhm give this a shot Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< Link to comment Share on other sites More sharing options...
joeyy29 Posted February 18, 2021 Author Share Posted February 18, 2021 Sorry i had things to do but it doesnt work Link to comment Share on other sites More sharing options...
_omga Posted February 23, 2021 Share Posted February 23, 2021 on chat: loop all players: message contains "%loop-player%" play sound "sound" to loop-player replace all "%loop-player%" in message with "&3*%loop-player%&7" untested and made late at night 1 If I helped you at all, leave a like! IGN: _omga Discord: omega#1000 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