Advertisement
Randall123459

SlutClean UHC scenario

Apr 9th, 2015
591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. command /SlutClean <text>:
  2. usage: /SlutClean <enable:disable:toggle>
  3. permission: skript.op
  4. trigger:
  5. if arg 1 is "enable" or "on":
  6. set {SlutClean} to true
  7. message "&aSlut Clean Enabled!"
  8. if arg 1 is "disable" or "off":
  9. set {SlutClean} to false
  10. message "&cSlut Clean Disabled!"
  11. if arg 1 is "toggle":
  12. if {SlutClean} is false:
  13. set {SlutClean} to true
  14. message "&aSlut Clean Enabled!"
  15. if {SlutClean} is true:
  16. set {SlutClean} to false
  17. message "&cSlut Clean Disabled!"
  18.  
  19. on mine of iron ore:
  20. if {slutclean} is true:
  21. cancel event
  22. set block to air
  23. loop items of type iron armor or gold armor or diamond armor or leather armor or chain armor:
  24. player is wearing loop-item:
  25. drop 1 iron ore
  26. player is not wearing loop-item:
  27. drop 1 iron ingot
  28.  
  29. on mine of gold ore:
  30. if {slutclean} is true:
  31. cancel event
  32. set block to air
  33. loop items of type iron armor or gold armor or diamond armor or leather armor or chain armor:
  34. player is wearing loop-item:
  35. drop 1 gold ore
  36. player is not wearing loop-item:
  37. drop 1 gold ingot
  38.  
  39. on mine of diamond ore:
  40. if {slutclean} is true:
  41. cancel event
  42. set block to air
  43. loop items of type iron armor or gold armor or diamond armor or leather armor or chain armor:
  44. player is wearing loop-item:
  45. drop 1 diamond ore
  46. player is not wearing loop-item:
  47. drop 1 diamond
  48.  
  49. on mine of redstone ore:
  50. if {slutclean} is true:
  51. cancel event
  52. set block to air
  53. loop items of type iron armor or gold armor or diamond armor or leather armor or chain armor:
  54. player is wearing loop-item:
  55. drop 1 redstone ore
  56. player is not wearing loop-item:
  57. drop 3 redstone
  58.  
  59.  
  60. on mine of lapis lazuli ore:
  61. if {slutclean} is true:
  62. cancel event
  63. set block to air
  64. loop items of type iron armor or gold armor or diamond armor or leather armor or chain armor:
  65. player is wearing loop-item:
  66. drop 1 lapis lazuli ore
  67. player is not wearing loop-item:
  68. drop 3 lapis lazuli
  69.  
  70. on death of a cow:
  71. if {slutclean} is true:
  72. clear drops
  73. loop items of type iron armor or gold armor or diamond armor or leather armor or chain armor:
  74. player is wearing loop-item:
  75. drop 1 raw steak
  76. player is not wearing loop-item:
  77. drop 1 cooked steak
  78.  
  79. on death of a pig:
  80. if {slutclean} is true:
  81. clear drops
  82. loop items of type iron armor or gold armor or diamond armor or leather armor or chain armor:
  83. player is wearing loop-item:
  84. drop 1 raw porkchop
  85. player is not wearing loop-item:
  86. drop 1 cooked porkchop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement