Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Nazwa: HealtEZ
- # Autor: DaltonEZ
- # Wersja: 1.0
- # Zakaz usuwanie podpisu autora skriptu.
- # Zakaz podpisywania skriptu wlasnym nickiem.
- variables:
- {serca::%player%} = 10
- options:
- tag: &8[&cHealtEZ&8]
- command /heal [<player>]:
- trigger:
- if player has permission "hez.heal":
- if arg 1 is set:
- heal the arg 1
- send "{@tag} Uleczyles gracza &e%arg 1%&7. Posiada on teraz &e%{serca::%player%}% &7pelnych serduszek.
- else:
- send "{@tag} &7Zostales uleczony. Jesli chcesz uleczyc gracza: &e/heal <nick>"
- heal the player
- else:
- send "{@tag} &7Nie masz permisji do tej komendy."
- command /damage [<player>] [<integer>]:
- trigger:
- if player has permission "hez.damage":
- if arg 1 is set:
- if arg 2 is set:
- damage arg 1 by arg 2 hearts
- heal the arg 1
- broadcast "{@tag} Administrator &e%player% &7zadal &e%arg 2%&7 dmg graczowi &e%arg 1%&7.
- else:
- send "{@tag} &7Podaj sile ataku ktora ma byc zadana graczu."
- else:
- send "{@tag} &7Podaj nazwe gracza ktoremu chcesz zadac dmg."
- else:
- send "{@tag} &7Nie masz permisji do tej komendy."
- command /health [<text>] [<player>] [<integer>]:
- trigger:
- if player has permission "hez.set":
- if arg 1 is not set:
- send " "
- send "
- if arg 1 is "set":
- if arg 2 is set:
- if arg 3 is set:
- set max health of player to arg 3
- heal the arg 2
- set {serca::%arg 2%}
- else:
- send "{@tag} &7Ilosc serc do ustawienia"
- heal the player
- else:
- send "{@tag} &7Podaj nazwe gracza."
- if arg 1 is "show":
- if arg 2 is set:
- send "{@tag} &7Gracz &e%arg 2% &7posiada &e%{serca::%arg 2%}%"
- if arg 2 is not set:
- send "{@tag} &7Gracz &e%player% &7posiada &e%{serca::%player%}%"
- else:
- send "{@tag} &7Nie masz permisji do tej komendy."
Advertisement
Add Comment
Please, Sign In to add comment