API UseItemByName

Uses an item, optionally on a specified target. UseItemByName("name"[, "target"])

Arguments

 * name : String - name of the item to use.
 * target : String (optional) - unit to use the item on, defaults to "target" for items that can be used on others.