clickitem

If the spell the player casted expects to click an item, this will do that.

clickitem(itemid) : boolean
-- chainable
cast(spellid, target):clickitem(item)

Example

TBD there's code in #general to feed pet, get that
-- if items(HealthStone) >= 0 then
-- return use(Healthstone, 'player')
-- end