GET TOOL STATUS: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 10: Line 10:


===Example===
===Example===
:GET_TOOL_STATUS
:GET_TOOL_STATUS 3, iStatus


:For an example macro see [[Tool_Tiles]]
:For an example macro see [[Tool_Tiles]]


[[Category:Tools]]
[[Category:Tools]]

Revision as of 23:47, 19 October 2010

Up

Command

GET_TOOL_STATUS <tool number>, <status>


Check to see if a tool is defined or not.

Parameters

<tool number>
Tool number
<status>
0=empty, 1=complete, -1=incomplete

Example

GET_TOOL_STATUS 3, iStatus
For an example macro see Tool_Tiles