Slot is null?!

maximoh

Lifetime Member
Joined
Jul 14, 2008
Messages
38
Reaction score
0
Points
6
Hi,

I started having an issue with the following macro (which was previously functioning) whereby I'm getting the following error:

SLOT IS NULL: Could not send notification to 442 leftmouseup

Regardless of the slot number the result is the same. Am I missing something silly or did something break with /itemnotify?


Sub Main(itemTo)
/echo ${itemTo}
:giveall
/if (!${FindItem[${itemTo}].InvSlot}) /return
/if (${FindItem[${itemTo}].InvSlot}) {
/ctrl /itemnotify ${FindItem[${itemTo}].InvSlot} leftmouseup
/delay 1s ${Cursor.ID}
/invoke ${Target.LeftClick}
/delay 1s !${Cursor.ID}
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 1s !${Window[GiveWnd].Open}
}
/goto :giveall