GET TOOL SELECTED: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{Command|syntax=GET_TOOL_SELECTED <tool number>, <selected> | {{Command|syntax=GET_TOOL_SELECTED <tool number>, <selected> | ||
|description= | |description=:Check to see if a tool us currently selected. | ||
|param1=<tool number>|param1_desc={{tool number}} | |param1=<tool number>|param1_desc={{tool number}} | ||
Line 9: | Line 9: | ||
===Example=== | ===Example=== | ||
: | :GET_TOOL_SELECTED 3, iSelected | ||
[[Category:Tools]] | [[Category:Tools]] |
Latest revision as of 23:35, 14 January 2011
Command
- GET_TOOL_SELECTED <tool number>, <selected>
- Check to see if a tool us currently selected.
Parameters
- <tool number>
- Tool number
- <selected>
- 1=selected, 0=not selected
Example
- GET_TOOL_SELECTED 3, iSelected