Will not find Top level inventory

jodwop

Lifetimer
Joined
Oct 26, 2006
Messages
463
Reaction score
2
Points
0
I have the item in Bag1 slot and it will not find it and hand it in to npc. I am positive it is to do with .InvSlot but not finding what it should be in the Mqwiki or manual. Any help please.

Code:
Sub Stuff

/if (!${FindItem[My Item].InvSlot}) /goto :open
/nomodkey /ctrl /Itemnotify ${FindItem[My Item].InvSlot} leftmouseup
/click left target
:open
/if (!${Window[GiveWnd].Open}) /goto :open
:showing
/if (${Window[GiveWnd].Child[GVW_MyItemSlot0].Tooltip.Length}<1) /goto :showing
/delay 3
:done
/if (${Window[GiveWnd].Child[GVW_MyItemSlot0].Tooltip.Length}<1) /goto :done
/delay 3
/notify GiveWnd GVW_Give_Button leftmouseup
:closing
/if (${Window[GiveWnd].Open}) /goto :closing
/delay 3s
/reward 2
/delay 2s
/call Main