Dieeeeeeeeeeeeee Posted May 8, 2021 Share Posted May 8, 2021 There is a player ping skript that I've been looking for, but I just cant seem to find it, what the skript does is whenever you type someone's name like for example bob319 and after you've sent the message then it play's a sound for them. Anyone got this? Link to comment Share on other sites More sharing options...
centralwtf Posted May 8, 2021 Share Posted May 8, 2021 on chat: loop all players: if message matches loop-player's name: wait 3 ticks play "ENTITY_EXPERIENCE_ORB_PICKUP" to loop-player at volume 1 send title "&bSomeone just mentioned you!" with subtitle "&aGo check it out!" to loop-player for 1 second Hello! IGN✦ centralwtf Gender★ he/him ========================================== Owner★ Boxable, NetherBox, FishHype ========================================== Joined★ 22.07.2019 Member -> VIP ★ 29.04.2020 ========================================== Link to comment Share on other sites More sharing options...
BanditEagle Posted May 8, 2021 Share Posted May 8, 2021 (edited) 21 minutes ago, centralwtf said: on chat: loop all players: if message matches loop-player's name: wait 3 ticks play "ENTITY_EXPERIENCE_ORB_PICKUP" to loop-player at volume 1 send title "&bSomeone just mentioned you!" with subtitle "&aGo check it out!" to loop-player for 1 second When I put this into a skript parser, it gave me the following error: Line 5: There's no loop that matches 'loop-player at volume 1' (script.sk, line 5: play "ENTITY_EXPERIENCE_ORB_PICKUP" to loop-player at volume 1') A simple way I fixed this was by doing the following: on chat: loop all players: set {_p} to loop-player if message matches {_p}'s name: wait 3 ticks play sound "ENTITY_EXPERIENCE_ORB_PICKUP" with volume 1 to {_p} send title "&bSomeone just mentioned you!" with subtitle "&aGo check it out!" to {_p} for 1 second You need to use the following format for sounds: play sound[s] %strings% [(in|from) %soundcategory%] [(at|with) volume %number%] [(and|at|with) pitch %number%] [(to|for) %players%] Hope this helps you out @Dieeeeeeeeeeeeee! Edited May 8, 2021 by BanditEagle If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
centralwtf Posted May 8, 2021 Share Posted May 8, 2021 3 minutes ago, BanditEagle said: play "ENTITY_EXPERIENCE_ORB_PICKUP" to loop-player at volume 1 My Bad! Should be "play sound "block.note_block.pling" with volume 1 and pitch 2.5 at player for player" Or as You said. Hello! IGN✦ centralwtf Gender★ he/him ========================================== Owner★ Boxable, NetherBox, FishHype ========================================== Joined★ 22.07.2019 Member -> VIP ★ 29.04.2020 ========================================== Link to comment Share on other sites More sharing options...
Dieeeeeeeeeeeeee Posted May 8, 2021 Author Share Posted May 8, 2021 (edited) 26 minutes ago, centralwtf said: "play sound "block.note_block.pling" with volume 1 and pitch 2.5 at player for player" This sound only plays for the one sending the message, not the one receiving one. I want it so the receiver gets the sound Edited May 8, 2021 by Dieeeeeeeeeeeeee Link to comment Share on other sites More sharing options...
BanditEagle Posted May 8, 2021 Share Posted May 8, 2021 Just now, Dieeeeeeeeeeeeee said: This only plays for the one sending the message, not the one receiving one. can you try my suggestion? If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
Dieeeeeeeeeeeeee Posted May 8, 2021 Author Share Posted May 8, 2021 1 minute ago, BanditEagle said: can you try my suggestion? This works, thanks for the help! Link to comment Share on other sites More sharing options...
BanditEagle Posted May 8, 2021 Share Posted May 8, 2021 35 minutes ago, Dieeeeeeeeeeeeee said: This works, thanks for the help! no problem, happy to be able to help! If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle 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