Find items is now obsolete. Call core.GetItem(itemname) before to get item from your inventory. See this for example: https://github.com/s2games/Heroes-of-Newerth-Bots/blob/Community/bots/rhapsody/rhapsody_main.lua#L443