GET TOOL STATUS: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:


{{Command|syntax=GET_TOOL_STATUS <tool number>, <status>
{{Command|syntax=GET_TOOL_STATUS <tool number>, <status>
|description=*DESCRPTION*
|description=:Check to see if a tool is defined.


|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}}


}}
}}


===Example===
===Example===
:GET_TOOL_STATUS
:GET_TOOL_STATUS 3, iStatus
:<br>
: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