GET TOOL STATUS: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=GET_TOOL_STATUS <tool number>, <status> |description=*DESCRPTION* |param1=<tool number>|param1_desc={{tool number}} |param2=<status>|param2_desc={{status}} }} ===Exampl... |
No edit summary |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[:Tools:Tool_Data|{{Up}}]] | |||
{{Command|syntax=GET_TOOL_STATUS <tool number>, <status> | {{Command|syntax=GET_TOOL_STATUS <tool number>, <status> | ||
|description= | |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={{ | |param2=<status>|param2_desc={{tile_status}} | ||
}} | }} | ||
===Example=== | ===Example=== | ||
: | :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
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