WoW:API GetTrainerServiceDescription: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GetTrainerServiceDescription to API GetTrainerServiceDescription without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < GetTrainerServiceDescription

Returns the description of a specific trainer service.

GetTrainerServiceDescription(index);

Arguments
Number index
index
The index of the specific trainer service

Returns
String serviceDescription
serviceDescription
The description of a specific trainer service

Example

Prints the description of the trainer service with index 3, in the chatwindow

ChatFrame1:AddMessage(GetTrainerServiceDescription(3));