Guest User

TrzcinaTrade

a guest
Jun 2nd, 2013
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #Nazwa: TrzcinaTrade
  2. #Wersja: 1.0
  3. #Autor: Sweet07
  4.  
  5. variables:
  6. {Trzcina.%player%.on} = false
  7.  
  8. command /trzcina:
  9. permissions: trzcina.wymien
  10. description: Umozliwia wymiane 64 diamentow na 1 trzcine
  11. trigger:
  12. if player has 64 diamond:
  13. set {Trzcina.%player%.items} to tool of player
  14. set {Trzcina.%player%.on} to true
  15. else:
  16. clear {Trzcina.%player%.items}
  17. set {Trzcina.%player%.on} to false
  18. send "&cBrakuje Ci diamentow na kupno trzciny!"
  19. wait 10 tick
  20. if {Trzcina.%player%.on} is true:
  21. remove 64 diamond from player
  22. wait 10 tick
  23. give 1 Sugar Canes to the player
  24. send "&aPoprawnie wymieniono!"
Advertisement
Add Comment
Please, Sign In to add comment