Advertisement
Guest User

applefamine

a guest
Aug 18th, 2014
740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. variables:
  2. {Apples} = false
  3.  
  4. command /applefamine [<text>]:
  5. usage: /applefamine <on/off>
  6. permission: skript.op
  7. trigger:
  8. if arg 1 is "on":
  9. set {Apples} to true
  10. broadcast "<Cyan>[<Gray>UHC<Cyan>] <Light Red>Apple Famine Enabled"
  11.  
  12. if arg 1 is "off":
  13. set {Apples} to false
  14. broadcast "<Cyan>[<Gray>UHC<Cyan>] <Light Red>Apple Famine Disabled"
  15.  
  16. on break of oak leaves:
  17. {Apples} is true
  18. set block to air
  19. cancel the event
  20.  
  21. on leaves decay:
  22. {Apples} is true
  23. set block to air
  24. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement