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 5: Line 5:


|param1=<tool number>|param1_desc={{tool number}}
|param1=<tool number>|param1_desc={{tool number}}
|param2=<status>|param2_desc={{status}}
|param2=<status>|param2_desc={{tile_status}}


}}
}}
Line 11: Line 11:
===Example===
===Example===
:GET_TOOL_STATUS 3, iStatus
:GET_TOOL_STATUS 3, iStatus
 
:<br>
:For an example macro see [[Tool_Tiles]]
:For an example macro see [[Tool_Tiles]]


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

Latest revision as of 19:48, 13 January 2011

Up

Command

GET_TOOL_STATUS <tool number>, <status>


Check to see if a tool is defined.

Parameters

<tool number>
Tool number
<status>
Tile status. 0 = Empty, 1 = Complete, -1 = Incomplete

Example

GET_TOOL_STATUS 3, iStatus

For an example macro see Tool_Tiles