Daltonez

HealtEz - Skript by DaltonEZ dor skript.pl

Oct 6th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. # Nazwa: HealtEZ
  2. # Autor: DaltonEZ
  3. # Wersja: 1.0
  4.  
  5. # Zakaz usuwanie podpisu autora skriptu.
  6. # Zakaz podpisywania skriptu wlasnym nickiem.
  7.  
  8. variables:
  9. {serca::%player%} = 10
  10.  
  11. options:
  12. tag: &8[&cHealtEZ&8]
  13.  
  14. command /heal [<player>]:
  15. trigger:
  16. if player has permission "hez.heal":
  17. if arg 1 is set:
  18. heal the arg 1
  19. send "{@tag} Uleczyles gracza &e%arg 1%&7. Posiada on teraz &e%{serca::%player%}% &7pelnych serduszek.
  20. else:
  21. send "{@tag} &7Zostales uleczony. Jesli chcesz uleczyc gracza: &e/heal <nick>"
  22. heal the player
  23. else:
  24. send "{@tag} &7Nie masz permisji do tej komendy."
  25.  
  26. command /damage [<player>] [<integer>]:
  27. trigger:
  28. if player has permission "hez.damage":
  29. if arg 1 is set:
  30. if arg 2 is set:
  31. damage arg 1 by arg 2 hearts
  32. heal the arg 1
  33. broadcast "{@tag} Administrator &e%player% &7zadal &e%arg 2%&7 dmg graczowi &e%arg 1%&7.
  34. else:
  35. send "{@tag} &7Podaj sile ataku ktora ma byc zadana graczu."
  36. else:
  37. send "{@tag} &7Podaj nazwe gracza ktoremu chcesz zadac dmg."
  38. else:
  39. send "{@tag} &7Nie masz permisji do tej komendy."
  40.  
  41. command /health [<text>] [<player>] [<integer>]:
  42. trigger:
  43. if player has permission "hez.set":
  44. if arg 1 is not set:
  45. send " "
  46. send "
  47. if arg 1 is "set":
  48. if arg 2 is set:
  49. if arg 3 is set:
  50. set max health of player to arg 3
  51. heal the arg 2
  52. set {serca::%arg 2%}
  53. else:
  54. send "{@tag} &7Ilosc serc do ustawienia"
  55. heal the player
  56. else:
  57. send "{@tag} &7Podaj nazwe gracza."
  58. if arg 1 is "show":
  59. if arg 2 is set:
  60. send "{@tag} &7Gracz &e%arg 2% &7posiada &e%{serca::%arg 2%}%"
  61. if arg 2 is not set:
  62. send "{@tag} &7Gracz &e%player% &7posiada &e%{serca::%player%}%"
  63. else:
  64. send "{@tag} &7Nie masz permisji do tej komendy."
Advertisement
Add Comment
Please, Sign In to add comment