macros:Functions:avg
Function avg
Adds all the NPC tokens on the current map to the initiative panel. This function returns the number of tokens that were added to the initiative panel.
Usage
[h: average = avg(num, num, ...)]
[h: average = average(num, num, ...)]
[h: average = mean(num, num, ...)]
Examples
[r: avg(1, 2, 3, 3, 10)]
Returns 3.8