Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API UseToyByName

From Wowpedia
Jump to: navigation, search

Use a toy in player's toybox.

  UseToyByName(name)

Arguments

name
String - (localized?) name of a toy.

Example

  if PlayerHasToy(92738) then UseToyByName('Safari Hat'); end

See Also

Template:UseToy()