Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&7Flint&8]&r
- on break of gravel:
- cancel the event
- set the block to air
- chance of {Flint}%:
- drop 1 flint
- else:
- drop 1 gravel
- command /flint [<integer>]:
- aliases: /flintrate, /flintrates
- permission: skript.op
- trigger:
- if arg is set:
- arg is greater than 100:
- message "{@P} You can't set flint rates to %arg%!"
- stop trigger
- arg is less than 0:
- message "{@P} You can't set flint rates to %arg%!"
- stop trigger
- set {Flint} to arg
- broadcast "{@P} Rate: %{Flint}%%%"
- if arg is not set:
- message "%{Fprefix}% Flint rates are: %{Flint}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement