BotCount

int BotCount()

Description

Returns the amount of ZDoom bots present on the server.

It works by looping through all players and counting for how many of them PlayerIsBot returns true.