Guest User

Untitled

a guest
May 21st, 2015
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. on load:
  2. register new shaped recipe for stick named "&4Wylacznik" using air, air, redstone dust, air, stick, air, air, air, air
  3. register new shaped recipe for stick named "&4Wlacznik" using air, air, air, air, stick, air, redstone dust, air, air
  4. variables:
  5. {linkchest::%player%} = false
  6. on leftclick on chest:
  7. player's tool is stick named "&4Wylacznik":
  8. player has permission "link.chest":
  9. if {linkchest::%player%} is true:
  10. set {linkchest::%player%} to false
  11. send "&6Usunoles miejsce skrzynki dropu"
  12. delete {loc.%player%}
  13. stop
  14. on leftclick on chest:
  15. player's tool is stick named "&4Wlacznik":
  16. player has permission "link.chest":
  17. if {linkchest::%player%} is false:
  18. set {linkchest::%player%} to true
  19. set {loc.%player%} to location of clicked block
  20. send "&6Ustawiles skrzynke do ktorej bedzie trafial drop"
  21. stop
  22. on break:
  23. {linkchest::%player%} is true:
  24. cancel event
  25. set event-block to air
  26. add event-block to block at {loc.%player%}
  27. stop
  28. on leftclick on chest:
  29. player has permission "link.chest":
  30. player's tool is stick named "&4Wlacznik":
  31. {linkchest::%player%} is true:
  32. send "&6Osiagnoles limit ustawionych skrzynek"
  33. stop
Advertisement
Add Comment
Please, Sign In to add comment