GHI_CountItem

Pilus edited this page Aug 11, 2015 · 1 revision
Clone this wiki locally

Syntax:

GHI_CountItem(itemGuid)

Arguments:

GHI_CountItem(itemGuid) has 1 required argument.

itemGuid
''String''
The GUID of the item you wish to count.

Returns:

count
''Number''
The amount of the specified item found.

Example:

local itemCount = GHI_CountItem("12345_67890")

if itemCount >= 1 then

print("Item Found!")

end