WoW API: IsTradeskillTrainer

From AddOn Studio
Revision as of 18:11, 6 January 2007 by WoWWiki>Hobinbot (upgraded deprecated template)
Jump to navigation Jump to search

WoW API < IsTradeskillTrainer

Determine whether currently open trainer window is a TradeSkill Trainer.


Arguments

none

Returns

1 or True if the open trainer is a Tradeskill Trainer.

Example

 if (IsTradeskillTrainer()) then
    message('This is a tradeskill trainer');		
 end

--Dragonflyy