Guest User

CutClean Skript Code

a guest
Jan 28th, 2014
3,146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. #===========================#
  2. #= CutClean Skript [v-1.0] =#
  3. #===========================#
  4. #Feel free to alter anything in the code
  5.  
  6. #=====================#
  7. #= CutClean Commands =#
  8. #=====================#
  9. command /cutclean <text>:
  10. description: CutClean Enable:Disable:Toggle
  11. usage: /cutclean <enable:disable:toggle>
  12. permission: cutclean.admin
  13. trigger:
  14. if arg 1 is "enable":
  15. set {cutclean} to true
  16. message "&cCutClean Enabled!"
  17. if arg 1 is "disable":
  18. set {cutclean} to false
  19. message "&cCutClean Disabled!"
  20. if arg 1 is "toggle":
  21. if {cutclean} is true:
  22. set {cutclean} to false
  23. message "&cCutClean Disabled!"
  24. stop
  25. if {cutclean} is false:
  26. set {cutclean} to true
  27. message "&cCutClean Enabled!"
  28. stop
  29. #===================#
  30. #= CutClean Mining =#
  31. #===================#
  32. on mine of gravel:
  33. if {cutclean} is true:
  34. set block to air
  35. chance of 75%
  36. drop 1 flint
  37. cancel the event
  38.  
  39. on mine of oak leaves:
  40. if {cutclean} is true:
  41. set block to air
  42. chance of 75%
  43. drop 1 apple
  44. cancel the event
  45.  
  46. on mine of iron ore:
  47. if {cutclean} is true:
  48. set block to air
  49. drop 1 iron ingot
  50. cancel the event
  51.  
  52. on mine of gold ore:
  53. if {cutclean} is true:
  54. set block to air
  55. drop 1 gold ingot
  56. cancel the event
  57.  
  58. on death of a pig:
  59. if {cutclean} is true:
  60. clear drops
  61. drop 3 cooked porkchop at the pig
  62.  
  63. on death of a cow:
  64. if {cutclean} is true:
  65. clear drops
  66. drop 3 steak at the cow
  67. drop 1 leather at the cow
  68.  
  69. on death of a chicken:
  70. if {cutclean} is true:
  71. clear drops
  72. drop 3 cooked chicken at the chicken
  73. drop 2 feather at the chicken
Advertisement
Add Comment
Please, Sign In to add comment