Guest User

Untitled

a guest
Dec 6th, 2014
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /zadanie:
  2. if player has permission "zadanie.zombie":
  3. if {zadanie::czas::%player%} is smaller than 1:
  4. if {zadanie.aktywne.%player%} is false:
  5. send "&2[&6Quest&2] &3Zabij 20 zombie aby otrzymac &bjeden diament&3!" to player
  6. set {zadanie.aktywne.%player%} to true
  7. else:
  8. if {zadanie.zabite.zombie.%player%} is smaller than 20:
  9. send "&2[&6MSG&2] &3Postep zadania: &2%{zadanie.zabite.zombie.%player%}%/20" to player
  10. else:
  11. send "&2[&6MSG&2] &3Zadanie zaliczone! Otrzymujesz &bjeden diament&3!" to player
  12. set {zadanie::czas::%player%} to 1440
  13. give 1 diamond to player
  14. else:
  15. send "&2[&6MSG&2] &3Musisz jeszcze poczekac zanim znowu wezmiesz tego Qesta!" to player
  16. on death of zombie:
  17. if attacker is player:
  18. if {zadanie.aktywne.%player%} is true:
  19. add 1 to {zadanie.zabite.zombie.%player%}
  20. every 1 second:
  21. loop {zadanie::czas::*}:
  22. remove 1 from {zadanie::czas::%loop-vaule%}
Advertisement
Add Comment
Please, Sign In to add comment