Method PlayerBot.GetBotInventoryItemCount [-] [+]

Return how many copies of an item the bot has in its inventory.

Synopsis

count = Playerbot.GetBotInventoryItemCount( guidLow, itemId )

Arguments

number guidLow

Bot GUID low.

Valid numbers: integers from 0 to 4,294,967,295.

number itemId

Item template ID.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

number count

Valid numbers: integers from 0 to 4,294,967,295.

Generated on
©2026 - ALE Lua Engine