EVENT-PRESENT
present( [zone] ) counts the mortal players in the event's areas, or in one of its zones, so a wave can be sized to who is really there. It gives an object:
var p = Scenario.current.present(); p.players // how many p.groups // how many groups they are in p.lvlmin // the lowest level, p.lvlmax the highest, p.lvlmean the mean
Immortals are not counted. The game also counts every turn while the event runs; the peak and the mean are in its digest.