removeMacro: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Initial write-up.)
 
m (Updated with recent version changes.)
Line 1: Line 1:
{{stub}}
{{stub|Examples of usage.}}
{{MacroFunction
{{MacroFunction
|name=removeMacro
|name=removeMacro
Line 14: Line 14:
</source>
</source>
'''Parameters'''
'''Parameters'''
* {{code|index}} - The index of the macro button.
{{param|index|The index of the macro button.}}
* {{code|id}} - The ID of the token the macro is located on.
{{param|id|The token {{code|id}} of the token the macro is located on.}}
 
}}
}}
[[Category:Metamacro Function]]
[[Category:Metamacro Function]]

Revision as of 00:04, 31 March 2009

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: Examples of usage.

removeMacro() Function

Introduced in version 1.3b51
Removes a macro button from a token.

Usage

removeMacro(index)
removeMacro(index, id)

Parameters

  • index - The index of the macro button.
  • id - The token id of the token the macro is located on.