#event for when the player catches a fish

1 messages · Page 1 of 1 (latest)

flat thorn
#
    give 1 enchanted book of sharpness 5 to the player```
when they catch a fish i want to give them a sharpness book but this event fires everytime u use the fishing rod not when u catch a fish
keen stag
#

try using "On fish caught"

#

@flat thorn

flat thorn
flat thorn
keen stag
#

oh

#

hmmm

#

give me a minute

heady blade
flat thorn
heady blade
flat thorn
flat thorn
heady blade
#

That’s the on fishing event

#

Change fishing in the 2nd line to caught

flat thorn
lyric carbon
#

U got skbee?

limpid lichen
#

Idk last time I asked them to look at the skbee wiki they rage quit skript for a few months

#

And maybe

  1. Use the fishing state expression on its own to see if
  • the expression is causing the error
  • or if its the if statement
  1. Broadcast the fish state to see what it is
flat thorn
flat thorn
flat thorn
#
    broadcast "%fish state%"
    if fish state = fishing:
        give 1 enchanted book of sharpness 5 to the player
        set min wait time of fish hook to 0.1 seconds
        set max wait time of fish hook to 1 second```
lyric carbon
#

just do caught_fish

#

i think u can just set the caught item to the book but idk

flat thorn
#

YAY IT WORKS

flat thorn
flat thorn
lyric carbon
flat thorn
flat thorn
final swanBOT
flat thorn
#

i think this will work

#

nope

#

doesnt work

flat thorn
#

guide me 🙏

lyric carbon
#

U found the event

#

Just look at the example

#

Like bro 😭

lyric carbon
flat thorn
lyric carbon
#

Time to crash out

flat thorn
#

oh

flat thorn
#

i didnt work

lyric carbon
#

It works

flat thorn
#

oh wait

#

am dum

flat thorn
lyric carbon
#

Ik I am

limpid lichen
#

why did you mark it as solved...

flat thorn
#

WDYM

#

IS THATS WHY THERE ARE NO RESPONES??

limpid lichen
#

yeah... you added the solved tag

flat thorn
#

😭