API GetActionCount

Gets the available count for an action, if applicable. text = GetActionCount(actionSlot)

Parameters
Arguments


 * actionSlot - ActionSlot : The queried action slot.

Returns


 * text - Number
 * The action's count as displayed on the action's icon; e.g. for a potion action, returns the number of potions left.
 * 0, if the action has no count or if the specified action slot is empty