Advertisement
Guest User

PvPBox Skript

a guest
Apr 7th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. on death of player:
  2. if player is in "pvpbox":
  3. execute console command "/coins add %attacker% 5"
  4. execute console command "/coins remove %victim% 1"
  5.  
  6. command /coins <text> <text> <number>:
  7. permission: coins.admin
  8. trigger:
  9. if arg 1 is "add":
  10. add arg-3 to {coins.%UUID of arg-2%}
  11. if arg 1 is "remove":
  12. remove arg-3 from {coins.%UUID of arg-2%}
  13.  
  14. command /coinsinfo:
  15. trigger:
  16. if player is in "pvpbox":
  17. send "&aCompte : &6%{coins.%UUID of player%}% coins" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement