UseToy

From Wowpedia
Jump to: navigation, search

Use a toy in player's toybox.

  UseToy(itemId)

Arguments

itemId 
Number - itemId of a toy.

Example

  if PlayerHasToy(92738) then UseToy(92738); end

See Also

UseToyByName()