szumielxd

Untitled

Dec 17th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. command /drop [<text>]:
  2. trigger:
  3. if arg is "sety":
  4. if {drop.startset.%player%} is set:
  5. send "&2Wlaczono &adrop setow startowych"
  6. delete {drop.startset.%player%}
  7. else:
  8. send "&cWylaczono &adrop setow startowych"
  9. set {drop.startset.%player%} to true
  10. else if arg is "bronie":
  11. if {drop.bronie.%player%} is set:
  12. send "&2Wlaczono &adrop broni startowych"
  13. delete {drop.bronie.%player%}
  14. else:
  15. send "&cWylaczono &adrop broni startowych"
  16. set {drop.bronie.%player%} to true
  17. else if arg is "refy":
  18. if {drop.refy.%player%} is set:
  19. send "&2Wlaczono &adrop refili"
  20. delete {drop.refy.%player%}
  21. else:
  22. send "&cWylaczono &adrop refili"
  23. set {drop.refy.%player%} to true
  24. else:
  25. send "&cUzyj /drop <sety|bronie|refy>"
  26.  
  27. on death of player:
  28. remove all nether star from drops
  29. if {drop.startset.%attacker%} is true:
  30. remove all iron armor of protection 4 from drops
  31. if {drop.bronie.%attacker%} is true:
  32. remove all bow from drops
  33. set {_p} to "%victim%" parsed as player
  34. loop all items in drops:
  35. loop-item is not enchanted:
  36. if loop-item is diamond sword:
  37. remove type of loop-item from drops
  38. else if loop-item is bow:
  39. remove loop-item from drops
  40. remove all 262 from drops
  41. if {drop.refy.%attacker%} is true:
  42. remove all golden apple from drops
Advertisement
Add Comment
Please, Sign In to add comment