foxyplush135 Posted May 13, 2021 Share Posted May 13, 2021 I'm trying to make something that counts deaths, but if I make a 'add 1 to {Example::*}', It would add 1 to {Example::*} for everyone. So If someone died, It would add one to {Deaths::*}, how do I make it record for that one player? (sorry if this is in the wrong forum place, I think it is though) Link to comment Share on other sites More sharing options...
ItzJPower Posted May 13, 2021 Share Posted May 13, 2021 Ok i suggest that you do {Deaths.%player%}? Link to comment Share on other sites More sharing options...
_Tarna_ Posted May 13, 2021 Share Posted May 13, 2021 That's not how list variables work. Make the variable {deaths::%player's uuid%} and add 1 to that. So it would look something like this on death of player: add 1 to {deaths::%victim's uuid%} We use victim here since victim is the person who died in the death event. Then if you want to display the variables for a user in like a command, display {deaths::%player's uuid%} Discord - Tarna256#8675 In-game name - _Tarna_ Follow @Tarna_256 on Twitter --------------------------------------------------------- [VIP] - 7/27/2020 Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
Invislol Posted May 14, 2021 Share Posted May 14, 2021 On 5/12/2021 at 9:47 PM, JPowerBOSSTRONIO said: Ok i suggest that you do {Deaths.%player%}? Hey I would say use uuid Example: on death: add 1 to {deaths.%victim's uuid%} #or, on death of player: add 1 to {deaths.%player's uuid%} # You can use %uuid of player% too! Invislol ♥• 4-5 years of skript experience • 6 Months of active java experience • 2 Years of javascript and python experience[PATRON] RANKHelpful Stuff: Appeals and Reports - Here | Minehut Global And forums rules - Here Link to comment Share on other sites More sharing options...
Pocan Posted May 15, 2021 Share Posted May 15, 2021 Also please use variables like {deaths::%player's uuid%} Link to comment Share on other sites More sharing options...
Skray Posted May 15, 2021 Share Posted May 15, 2021 On 5/13/2021 at 4:58 AM, Tarnerd said: That's not how list variables work. Make the variable {deaths::%player's uuid%} and add 1 to that. So it would look something like this on death of player: add 1 to {deaths::%victim's uuid%} We use victim here since victim is the person who died in the death event. Then if you want to display the variables for a user in like a command, display {deaths::%player's uuid%} How to do that with "loop-player's"? (I am using skbee) 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