Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /carrotcombo [<text>]:
- permission: skript.op
- trigger:
- if arg-1 is equal to "enable" or "on" or "true":
- set {carrotcombo} to true
- broadcast "<green>Carrot Combo is now Enabled!"
- stop
- if arg-1 is equal to "disable" or "off" or "false":
- set {carrotcombo} to false
- broadcast "<green>Carrot Combo is now Disabled"
- stop
- on craft of wooden sword:
- if {carrotcombo} is true:
- cancel the event
- give player carrot of sharpness 1
- on craft of gold sword:
- if {carrotcombo} is true:
- cancel the event
- give player carrot of sharpness 2
- on craft of stone sword:
- if {carrotcombo} is true:
- cancel the event
- give player carrot of sharpness 3
- on craft of iron sword:
- if {carrotcombo} is true:
- cancel the event
- give player carrot of sharpness 4
- on craft of diamond sword:
- if {carrotcombo} is true:
- cancel the event
- give player carrot of sharpness 5
Advertisement
Add Comment
Please, Sign In to add comment