Date: 2016/09/04 09:24:18 UTC-07:00
Type: Denizen Script
CustomEnchantments:
type: world
events:
on player equips boots:
- wait 1t
- if <player.equipment.boots> == i@BootsofSwiftness {
- narrate "<&7><&o>You have been granted Swiftness I" targets:player
- cast [swiftness] d:9999 p:1
}
else {
- announce "helloworld"
}
on player unequips boots:
- if <player.equipment.boots> == i@BootsofSwiftness {
- narrate "<&7><&o>Your swiftness has ran out"
- cast [swiftness] remove
}
BootsofSwiftness:
type: item
material: i@Diamond_boots
display name: <&b>Boots of Swiftness
lore:
- "Swiftness I"