WoW:API IsTradeskillTrainer: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
 
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
Determine whether currently open trainer window is a TradeSkill Trainer.
Determine whether currently open trainer window is a TradeSkill Trainer.


Line 14: Line 15:


--[[User:Dragonflyy|Dragonflyy]]
--[[User:Dragonflyy|Dragonflyy]]
---
{{Template:WoW API}}

Revision as of 18:11, 6 January 2007

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