removeAllFromInitiative: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function removeAllFromInitiative== Removes all of the Token:Tokens from the Initiative:Initiative Panel. This function returns the number of Token:Tokens that were removed...)
 
No edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Function removeAllFromInitiative==
{{MacroFunction
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.     
|name=removeAllFromInitiative
|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 23:59, 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()]