4everNdeavor

Carrot Combo

Jul 1st, 2015
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. command /carrotcombo [<text>]:
  2. permission: skript.op
  3. trigger:
  4. if arg-1 is equal to "enable" or "on" or "true":
  5. set {carrotcombo} to true
  6. broadcast "<green>Carrot Combo is now Enabled!"
  7. stop
  8. if arg-1 is equal to "disable" or "off" or "false":
  9. set {carrotcombo} to false
  10. broadcast "<green>Carrot Combo is now Disabled"
  11. stop
  12.  
  13.  
  14.  
  15. on craft of wooden sword:
  16. if {carrotcombo} is true:
  17. cancel the event
  18. give player carrot of sharpness 1
  19.  
  20. on craft of gold sword:
  21. if {carrotcombo} is true:
  22. cancel the event
  23. give player carrot of sharpness 2
  24.  
  25. on craft of stone sword:
  26. if {carrotcombo} is true:
  27. cancel the event
  28. give player carrot of sharpness 3
  29.  
  30. on craft of iron sword:
  31. if {carrotcombo} is true:
  32. cancel the event
  33. give player carrot of sharpness 4
  34.  
  35. on craft of diamond sword:
  36. if {carrotcombo} is true:
  37. cancel the event
  38. give player carrot of sharpness 5
Advertisement
Add Comment
Please, Sign In to add comment