Uses the given spell on the closest available ground item which matches the IDs provided with optional delay. Must be called on the ClientThread or it will silently error
Parameters
spellName: string
the name of the spell
itemIDs: number[]
an array of item IDs to look for on the ground
Optionaldelay: number
optional delay, if one isn't supplied it'll execute the first action after API delay
Returns number
a number which is equivalent to the delay used to complete all actions
Uses the given spell on the closest available ground item which matches the IDs provided with optional delay. Must be called on the ClientThread or it will silently error