→ WoW API
Determines if player has a specific toy in their toybox
hasToy = PlayerHasToy(itemId)
- Number - itemId of a toy.
Returns true if player has itemId in their toybox, false if not.
if PlayerHasToy(92738) then print('Remember to wear your Safari Hat!'; end