Navigation menu

WoW:API IsTradeskillTrainer: Difference between revisions

Jump to navigation Jump to search
m
Move page script moved page API IsTradeskillTrainer to WoW:API IsTradeskillTrainer without leaving a redirect
(upgraded deprecated template)
m (Move page script moved page API IsTradeskillTrainer to WoW:API IsTradeskillTrainer without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
Determine whether currently open trainer window is a TradeSkill Trainer.
Determine whether last opened trainer window offered trade skill (profession) abilities.


 
isTradeskillTrainer = IsTradeskillTrainer();
== Arguments ==
:none


== Returns ==
== Returns ==
:1 or True if the open trainer is a Tradeskill Trainer.
:1 or True if the last open trainer skill list was for a trade skill (as opposed to class skills).


== Example ==
== Example ==
  if (IsTradeskillTrainer()) then
if (IsTradeskillTrainer()) then
    message('This is a tradeskill trainer');
  message('This is a tradeskill trainer');
  end
end
 
--[[User:Dragonflyy|Dragonflyy]]
Anonymous user