removeAllFromInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Function removeAllFromInitiative==
{{MacroFunction
{{GMOnlyFunction}}
|name=removeAllFromInitiative
Removes all of the [[Token:Token|Token]]s from the [[Initiative:Initiative Panel|Initiative Panel]]. This function returns the number of [[Token:Token|Token]]s that were removed. Only the [[GM]] can call this function.     
|trusted=true
|description=
Removes all of the [[Token]]s from the [[Initiative:Initiative Panel|Initiative Panel]]. This function returns the number of [[Token]]s that were removed. Only the [[Introduction to Game Hosting#Server Options and Settings|GM]] can call this function.     


===Usage===
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
[h: removeAllFromInitiative()]
[h: removeAllFromInitiative()]
</source>
</syntaxhighlight>
}}
[[Category:Initiative Function]]

Latest revision as of 22:56, 9 May 2023

removeAllFromInitiative() Function

 Note: This function can only be used in a Trusted Macro

Removes all of the Tokens from the Initiative Panel. This function returns the number of Tokens that were removed. Only the GM can call this function.

Usage

[h: removeAllFromInitiative()]