#Fishing Help

1 messages · Page 1 of 1 (latest)

limpid moss
#
on fish caught:
    COD
    if event-item is cod:
        set {_amount} to amount of event-item
        remove {_amount} of event-item from player
        give {_amount} of cod named "&6Cod" with lore "&b&lCOMMON" to player
        apply glowing effect to last item received

    SALMON
    if event-item is salmon:
        set {_amount} to amount of event-item
        remove {_amount} of event-item from player
        give {_amount} of salmon named "&6Salmon" with lore "&9&lRARE" to player
        apply glowing effect to last item received

    PUFFERFISH
    if event-item is pufferfish:
        set {_amount} to amount of event-item
        remove {_amount} of event-item from player
        give {_amount} of pufferfish named "&6Pufferfish" with lore "&6&lLEGENDARY" to player
        apply glowing effect to last item received

when I reload this custom fishing skript it dosent understand "if event-item is" then the name of the fish. what do I put instead

lavish fulcrum
kindred lintel
#

an addon for event-item..?

kindred lintel
#

for 3rd line did you check if minecrafts id for the item is cod

untold narwhal
limpid moss