Guest User

Untitled

a guest
Feb 18th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. #----------------------------------#
  2. # By RaDioActi_V_e #
  3. # Pozwalam kopiowac kod! #
  4. #----------------------------------#
  5. options:
  6. times: "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" or "24"
  7. variables:
  8. {time} = 0
  9. every 60 minutes:
  10. add 1 to {time}
  11. if {time} is 25:
  12. set {time} to 0
  13. if {time} is 11:
  14. execute console command "/say Jest 11,czas wlaczyc tnt! :)"
  15. if {time} is 22:
  16. execute console command "/say Jest 22,czas wylaczyc tnt! :("
  17. command /zegar [<text>]:
  18. trigger:
  19. player has permission "time.use":
  20. argument 1 is not {@times}:
  21. send "&4Blad:&c%arg 1% taka godzina nie istnieje o_O!"
  22. stop
  23. argument 1 is set:
  24. set {time} to argument 1
  25. send "&7Ustawiles godzine &c%arg 1%&7 poprawnie!" to player
  26. stop
  27. argument 1 is not set:
  28. send "&7Wpisz /zegar [Godzina] aby ustalic aktualna godzine!" to player
  29. stop
  30. else:
  31. send "&4Blad:&cNie masz uprawnien!" to player
Advertisement
Add Comment
Please, Sign In to add comment