Guest User

Untitled

a guest
Oct 19th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. options:
  2. # Kod za ktory otrzymujemy diament.
  3. kod: 86743254
  4. variables:
  5. {use.%player%} = false
  6.  
  7. command /kod [<text>]:
  8. trigger:
  9. if {use.%player%} is true:
  10. send "&7Poczekaj 24h aby ponownie uzyc kodu!"
  11. if {use.%player%} is false:
  12. arg 1 is not empty:
  13. arg 1 is "{@kod}":
  14. add 1 diamond named "&aDziekujemy za gre!" to player
  15. send "&7Kod &e%arg%&7 zostal zatwierdzony &a&lpoprawnie&7!"
  16. set {use.%player%} to true
  17. wait 24 hours
  18. set {use.%player%} to false
  19. else:
  20. send "&7Kod &e%arg%&7 zostal zatwierdzony &c&lblednie&7!"
  21. else:
  22. send "&7Poprawne uzycie to &e/kod <kod>"
Advertisement
Add Comment
Please, Sign In to add comment