wowpedia
Main Menu


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