Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Nazwa: TrzcinaTrade
- #Wersja: 1.0
- #Autor: Sweet07
- variables:
- {Trzcina.%player%.on} = false
- command /trzcina:
- permissions: trzcina.wymien
- description: Umozliwia wymiane 64 diamentow na 1 trzcine
- trigger:
- if player has 64 diamond:
- set {Trzcina.%player%.items} to tool of player
- set {Trzcina.%player%.on} to true
- else:
- clear {Trzcina.%player%.items}
- set {Trzcina.%player%.on} to false
- send "&cBrakuje Ci diamentow na kupno trzciny!"
- wait 10 tick
- if {Trzcina.%player%.on} is true:
- remove 64 diamond from player
- wait 10 tick
- give 1 Sugar Canes to the player
- send "&aPoprawnie wymieniono!"
Advertisement
Add Comment
Please, Sign In to add comment