Advertisement
fleft17

Untitled

Jul 5th, 2014
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. options:
  2. P: &8[&7Flint&8]&r
  3.  
  4. on break of gravel:
  5. cancel the event
  6. set the block to air
  7. chance of {Flint}%:
  8. drop 1 flint
  9. else:
  10. drop 1 gravel
  11.  
  12.  
  13. command /flint [<integer>]:
  14. aliases: /flintrate, /flintrates
  15. permission: skript.op
  16. trigger:
  17. if arg is set:
  18. arg is greater than 100:
  19. message "{@P} You can't set flint rates to %arg%!"
  20. stop trigger
  21. arg is less than 0:
  22. message "{@P} You can't set flint rates to %arg%!"
  23. stop trigger
  24. set {Flint} to arg
  25. broadcast "{@P} Rate: %{Flint}%%%"
  26. if arg is not set:
  27. message "%{Fprefix}% Flint rates are: %{Flint}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement