(Describe behavior as of 3.0.8 (likely prior patches as well)) |
|||
Line 5: | Line 5: | ||
== Returns == |
== Returns == |
||
− | :1 or True if the last open trainer skill list was for a |
+ | :1 or True if the last open trainer skill list was for a trade skill (as opposed to class skills). |
== Example == |
== Example == |
Revision as of 02:16, 8 February 2009
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Determine whether last opened trainer window offered trade skill (profession) abilities.
isTradeskillTrainer = IsTradeskillTrainer();
Returns
- 1 or True if the last open trainer skill list was for a trade skill (as opposed to class skills).
Example
if (IsTradeskillTrainer()) then message('This is a tradeskill trainer'); end