GetItemCharges(object)

Retrieves the number of charges remaining on a given item.

int GetItemCharges(
    object oItem
);

Parameters

oItem

Object to query the number of charges remaining of.


Description

Returns the number of charges remaning on a given item. Returns 0 if the item is not an item, an invalid object, or has no charges.



Version

1.30

See Also

categories: Get Data from Object Functions


 author: Charles Feduke, editor: Lilac Soul