Thanks Tidus And Manwinc, I made both of those changes and still had no luck. I knew there had to be something else I was missing in addition to those things.
I got looking at if #Findkind > 0
and was wondering if it should be findcnt because it was looking for a count of the item so I changed it to if #findcnt > 0
and it worked.
I had also added in set %backpackid XXXXXX
just in case it needed that. I didn't think it should but I wasn't sure. Do I need that in there or is that something that I can take out?
so my sub now looks like
sub dropseed
Finditem %seed C_ , #backpackid
wait 10
if #Findcnt > 0
{
Exevent drag #Findid
wait 10
Finditem %matriarch G_2
Exevent dropc #Findid
wait 1s
}
return
This will be set at the beginning of the script
set %seed PDF
set %matriarch OHB
set %backpackid QNVOUND
I am not sure why I named it feed originally other than when I was thinking about it not working because of the npc not being a container, I started thinking that dropping the seed on the queen would be similar to feeding a pet. I just caught it now that I had named the sub feed lol.
One more question along with the backpackid
Do I need the { } around the action of dropping the seed? I was not sure but it seemed like I should so I added them in there but on other drag and drop things I have looked at they are not there.