Wowpedia
Advertisement
Wowpedia
240,485
pages
Game Flavors
Links
Patch
Added in 6.0.2

Determines if player has a specific toy in their toybox

  hasToy = PlayerHasToy(itemId)

Arguments

itemId 
number - itemId of a toy.

Returns

Returns true if player has itemId in their toybox, false if not.

Example

  if PlayerHasToy(92738) then print('Remember to wear your Safari Hat!'); end
Advertisement